Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

JavaScript code


<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.