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

HTML Export

HTML export produces a single .html file with clean, semantic markup. It's a good choice for distributing documents on the web, embedding content in a website, or sending a file that anyone can open in a browser without installing anything.

What you get

  • Semantic HTML5. Headings, paragraphs, lists, figures, and tables use the appropriate HTML elements — not just styled <div> blocks. This benefits both accessibility tools and anyone who processes the HTML further.
  • Inline SVG diagrams. Each diagram is embedded directly in the HTML as inline SVG, with your alt text attached via aria-label. No external image files are needed — the HTML file is fully self-contained.
  • ARIA attributes. Key elements include ARIA roles and labels where they help screen reader users understand the document structure.
  • Clean output. The HTML is readable and suitable for further processing, styling with your own CSS, or importing into a content management system.

Math formulas and MathJax

If your note contains mathematical notation, the exported HTML includes a reference to MathJax — a JavaScript library that renders LaTeX math notation in the browser. You'll see a <script> tag near the bottom of the file that loads it from a CDN. This is normal and expected — it's what makes formulas like $E = mc^2$ display as properly formatted math instead of raw text.

MathJax loads automatically when someone opens the HTML file in a browser. No setup is needed on your part.

If you're embedding the exported HTML into a website that already loads MathJax or KaTeX, you can safely remove the duplicate <script> tag to avoid loading it twice.

Best uses

HTML works best when you want a document that:

  • Will be published on a website or shared as a web link
  • Should be accessible in any browser without special software
  • Needs to be integrated into a larger web project or CMS
  • Will be processed further by scripts or other tools