Try the wide Markdown to PDF workspace
100% browser-based, synchronized split view, zero document uploads.
Markdown lets writers and developers focus on structure—headings, tables, lists, links, and code blocks—using plain characters instead of heavyweight word-processor formatting bars. ToolKnit's Markdown Editor pairs a distraction-free source pane with an instant DOMPurify-sanitized preview and local exports to .md, standalone .html, and A4 PDF.
Wide studio layout & synchronized viewing modes
Standard narrow two-column boxes squeeze long Markdown tables and wide code blocks onto awkward wrapped lines. The updated studio opens across up to 1440px (or 1840px in Max Width mode) with proportional scroll sync between the Markdown editor on the left and rendered output on the right, plus single-click Split, Editor Only, and Preview Only modes.
Export formats: .md vs. standalone .html vs. A4 PDF
Different destinations call for different deliverables. Instead of stripping formatting or requiring external converters, you can generate three distinct outputs straight from memory:
| Output Action | Generated Result | External CSS / Dependencies | Best Use Case |
|---|---|---|---|
| Download .md | Raw UTF-8 Markdown source file | None (pure plain text) | Git repositories, Obsidian vaults, static site generators |
| Download .html | Complete HTML5 document with embedded light-page styles | Zero external stylesheet requests required | Shareable reports, documentation snapshots, offline archiving |
| Export PDF | A4-proportioned printable PDF document | Browser print engine + local jsPDF fallback |
Resumes, technical briefs, client deliverables |
| Copy HTML / Copy MD | Clipboard HTML fragment or raw Markdown string | None | Quick pasting into CMS editors, emails, or GitHub issues |
Quick Markdown reference
# H1through###### H6for structured section headings**bold**,*italic*, and~~strikethrough~~for inline emphasis[link text](url)andfor links and images```language ... ```fenced blocks for multi-line code listings> quotefor callout notes and blockquotes| col 1 | col 2 |pipes and dashes for tables
Security & PDF export boundaries to know
HTML sanitization: Rendered HTML is passed through DOMPurify before preview injection or HTML export so pasted scripts or unsafe event attributes are stripped locally.
External image CORS limits: Browser-native canvas/PDF rendering respects cross-origin rules. If your Markdown embeds images from third-party hosts that block CORS headers, vector/print PDF mode via your browser's built-in Save as PDF dialog preserves them reliably without triggering security taints.
Frequently asked questions
Does the Markdown editor upload my notes to convert them to PDF?
No. Parsing happens in memory with marked.js, sanitization runs locally with DOMPurify, and both PDF print layout and local PDF generation execute inside your browser tab.
What is the difference between Copy HTML and Download .html?
Copy HTML copies only the clean semantic inner tags (ideal for CMS blocks or rich editors). Download .html outputs a full standalone HTML5 page wrapped in clean typography and print CSS so anyone can double-click it offline.
Why might an external image in Markdown fail in direct PDF raster export?
Browsers prohibit scripts from reading pixels from remote image servers that disallow CORS. Use images from CORS-enabled hosts or switch to your browser's Print / Save as PDF sheet when embedding third-party images.
Can I focus on writing or expand the editor wider on large monitors?
Yes. Use the view switcher buttons above the panes to toggle Split View, Editor Only, Preview Only, and Max Width at any time.
Ready to draft your document?
Open the wide Markdown Editor studio with synchronized live preview and local PDF/HTML export.