Show HN: MDXport – Browser-Based Markdown to PDF Using Typst and WASM

Posted by ZacharyZZ 18 hours ago

Counter5Comment1OpenOriginal

Hi HN,

I built this because I was frustrated with existing Markdown-to-PDF converters. Most of them rely on HTML/CSS (puppeteer) which often messes up pagination and tables, or they require uploading data to a server (privacy concerns).

MDXport is a purely client-side tool.

The Stack: - Core: Typst (a modern LaTeX alternative) compiled to WebAssembly. - Privacy: Zero data leaves your browser. All rendering happens locally via WASM. - Feature: It handles page breaks and complex tables much better than standard CSS print drivers.

I also added some heuristics to automatically fix common formatting errors from LLM generated markdown (e.g., broken nested lists or overflowing tables).

It's currently an MVP. No sign-up required, free to use.

I'd love to hear your feedback on the rendering quality compared to Pandoc/LaTeX.

Link: https://www.mdxport.com

Comments

Comment by adamzwasserman 17 hours ago

Just what I needed. I will be trying it out thx