JavaScript code
github-pages/js.md
<div id="text"></div> <script> document.getElementById("text").innerHTML = "Text added by JavaScript code"; </script>
- One can include plain HTML in the md file. So include script tags.
- The code should come at the end to have the DOM available already.