Exports
Export your markdown to standalone HTML or PDF files. Both are Pro features, gated at the Rust backend level so they can't be bypassed from the browser console.
HTML Export
Press Ctrl+Shift+E to generate a complete standalone HTML file. The output includes:
- All your content rendered from markdown to HTML
- Syntax highlighting colors preserved from the preview
- KaTeX math with CDN font loading
- Mermaid diagrams inlined as SVGs
- Responsive layout that works on any screen size
The exported file is fully self-contained. You can open it directly in any browser, host it on a static site, email it as an attachment, or upload it to a server. No runtime, no build step, no dependencies. Just an HTML file that works.
PDF Export
Press Ctrl+Shift+P to generate a PDF. The output includes:
- Chapter breaks with each
##heading starting a new page - Proper heading hierarchy with visual weight differences
- Code blocks with monospace formatting
- Clean typography optimized for print (not screen)
- Mermaid diagrams rendered as vector SVGs at print resolution
- Math equations typeset at high fidelity
Powered by Typst, a native Rust typesetting engine. Typst produces PDFs that look like they came out of a book, not a browser print dialog. Typography is the whole point.
Why not browser print?
Most markdown editors export PDFs by printing the preview pane through a headless browser. That works, but you inherit all the browser's layout quirks: awkward page breaks in the middle of paragraphs, inconsistent font metrics, and CSS rules that were designed for screens getting stretched across paper.
Inkwell's PDF pipeline is different. Typst is a typesetting engine built from scratch for document layout. It understands pages, baselines, line-breaking, and professional typography. Your chapter headings land where they should. Code blocks don't get split across pages arbitrarily. Math renders at print-quality resolution.
The tradeoff: the PDF layout is opinionated. You don't get arbitrary CSS control. You get a clean, readable document with sensible defaults.
Frequently asked questions
Does export require internet?
No. Both HTML and PDF export are fully local. HTML export includes a KaTeX CDN reference for font loading in the output file (so the file is smaller), but the export process itself runs offline. PDF export has no network calls at all.
What fonts does the PDF use?
Typst ships with its own font stack. The PDF uses clean serif for body copy, a monospace font for code blocks, and consistent weights across headings. Custom font configuration is on the roadmap.
Can I customize the PDF styling?
Not yet. The current version uses Typst's default professional layout. Custom Typst templates for per-document styling are planned.
Do Mermaid diagrams and LaTeX math render in the PDF?
Yes. Mermaid diagrams are captured as SVGs and embedded in the PDF. LaTeX math is rendered through KaTeX in the preview and preserved in both HTML and PDF export at full fidelity.
Can I see an example before buying?
The free editor lets you use all the features that matter for writing. Export is the one thing behind the Pro license. If you want to see what a Typst-generated PDF looks like before purchasing, any document you can open in Inkwell will show you the preview, and you can evaluate whether the output quality is worth $19.
Is export just a wrapper around pandoc?
No. HTML export renders directly from the same pipeline that builds your preview. PDF export uses Typst, which is a ground-up typesetting engine, not a Pandoc passthrough. Inkwell doesn't depend on any external CLI tools.
What if I only need HTML export?
HTML and PDF export are both included in the $19 Pro license. There's no separate tier. If you want exports, you get both.
Pro license required
Both exports check your license at the Rust layer, not in JavaScript. The gate can't be bypassed from the browser console. Activation is a one-time Gumroad key check the first time you enter your license. After that, the license is a signed file stored on your machine. No ongoing server validation, no recurring calls home. If you buy Pro today and 4Worlds disappears tomorrow, your exports keep working.
Get a Pro license on Gumroad →
Related
- Mermaid Diagrams — preserved in both HTML and PDF exports
- LaTeX Math — rendered via KaTeX, preserved in exports
- Pricing — full breakdown of Free vs Pro features