markdown+mathjax Markdown (marked.js) + MathJax HTML preview file. How it works? text → Markdown (with code highlighting) → [x] MathJax → preview (+ HTML export) Uses async. working MathJax (see also https://github.com/kerzol/markdown-mathjax). Souce https://github.com/andrzejQ/markdown-mathjax Demo https://andrzejQ.github.io/markdown-mathjax/editor/md-mhj.html Dependencies https://marked.js.org https://github.com/cure53/DOMPurify https://highlightjs.org https://www.mathjax.org See also Jekyll kramdown + mathjax