Preview
Live Preview
The preview renders your Markdown text as HTML in real time. It runs inside a WKWebView and updates on every editor change via incremental DOM updates through JavaScript injection — no full page reload.
KaTeX Formulas
Mathematical formulas are rendered with KaTeX. Inline formulas with $E = mc^2$, block formulas with $$...$$. KaTeX supports a large subset of LaTeX syntax.
Mermaid Diagrams
Code blocks with the language mermaid are rendered as diagrams. Flowcharts, sequence diagrams, Gantt charts, class diagrams and other Mermaid diagram types are supported.
Code Highlighting
Code blocks in the preview receive syntax highlighting via highlight.js. Language detection uses the identifier after the triple backticks (e.g. ```swift). Many programming languages are supported.