Export
HTML Export
Via File → Export → HTML, the document is exported as a self-contained HTML file. KaTeX formulas, Mermaid diagrams and code highlighting are included in the exported file.
PDF Export
Via File → Export → PDF, the document is exported as a PDF file. The layout matches the preview — including formulas, diagrams and code blocks.