3 ms·
Isn't there a simple way to pair a markdown file with an html/JS file so that the md file is rendered? Myfile.html: <script>loadMarkDownFile()</script> Myfile
by jeffreportmill1 4y ago
Isn't there a simple way to pair a markdown file with an html/JS file so that the md file is rendered?
Myfile.html: <script>loadMarkDownFile()</script>
Myfile.md: ## Markdown in the browser!
- WorldMaker 4y agodocsify [1] takes that approach. It's a tiny HTML file with a chunky JS script that fetches Markdown files and renders them. It doesn't work if JS is turned off and it's probably less accessible than if the browser natively understood Markdown, but it is an approach to building documentation sites. [1] https://docsify.js.org/ https://docsify.js.org/