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!
Myfile.html: <script>loadMarkDownFile()</script>
Myfile.md: ## Markdown in the browser!