Not every document starts inside a Git repository. Often, you simply need to turn notes from Notion, an issue draft, an email summary, or a meeting agenda into a clean, paginated PDF. Opening a code editor, compiling with pandoc, or setting up a local toolchain takes more time than drafting the text itself.
md2pdf includes a dedicated split-pane Markdown editor that functions as an instant browser scratchpad. You paste your raw text into the input column, edit it with live feedback, choose your typography theme, and export your PDF in seconds.
This guide explains how to get the most out of the editor, keyboard efficiency habits, formatting rules that hold up in print, and how to avoid browser session data loss. For working with files directly, see Upload local Markdown files to PDF.
The scratchpad editing workflow
The md2pdf editor is designed for rapid drafting without cognitive clutter. When you open the application, the input area is immediately focused and ready for text.
# Incident Report: Database Latency Spike
Date: October 24, 2026
Author: Reliability Engineering Team
## Summary
At 03:15 UTC, connection pool exhaustion led to elevated read latency.
Mitigation was completed within 14 minutes by scaling replica nodes.
As you paste or type, the editor debounces input events and sends the raw string to the client-side parsing pipeline. There is no submit button and no waiting for an asynchronous network response.
Pasting Markdown from note-taking and documentation tools
Exporting or copying from modern rich-text tools often introduces unexpected formatting anomalies:
- Notion & Obsidian: Usually copy as standard Markdown. Ensure backticks around code fences are preserved.
- Google Docs & Word: Pasting formatted rich text directly into plain-text areas can copy raw text without Markdown symbols. Copy as Markdown or use a dedicated exporter.
- GitHub Issues & PRs: Copies verbatim as GitHub-flavored Markdown (GFM), including task lists and tables.
If you paste text containing non-standard Unicode spaces (such as zero-width spaces or non-breaking spaces), md2pdf preserves them safely without breaking layout boundaries.
Formatting conventions that survive print
Writing for a paginated PDF differs from writing for an infinite web page. To ensure your pasted text looks deliberate on physical paper:
- Use hierarchical headings: Keep a single H1 at the top, H2 for major chapters, and H3 for sub-points. This enables clean Automatic Table of Contents generation.
- Break long paragraphs: Reading printed text requires visual breathers. Restrict paragraphs to three to five sentences.
- Favor bulleted lists: Complex workflows are significantly easier to scan on paper when structured as bulleted or numbered items.
- Structure tabular data: Replace messy ASCII space-aligned columns with proper GitHub-Flavored Markdown tables.
Step-by-step: From raw text to exported document
Follow this workflow for drafting and printing:
- Navigate to the md2pdf editor scratchpad.
- Paste your raw text into the editor pane on the left.
- Review the live rendering in the preview pane on the right.
- Select a print theme (Clean, Business, Academic, or Dark).
- Review headings and verify that code blocks do not overflow.
- Click Print / Save as PDF to invoke the browser print engine.
- Confirm page margins and save your document.
Browser memory and unsaved draft precautions
Because md2pdf operates strictly inside client-side memory without an application backend:
- No server autosave: Closing the browser tab or refreshing the page clears the current scratchpad buffer.
- No draft recovery: md2pdf does not store your drafts in remote databases. Always keep your primary notes saved in your local text editor or repository.
- Memory cap: Very large pastes (over 2 MB) are rejected to prevent browser tab crashes.
Common editing mistakes and print layout fixes
- Unclosed code fences: If a code fence triple backtick is not closed, the remainder of your document will be rendered as raw code.
- Missing blank lines before lists: Standard Markdown requires an empty line before bulleted lists. Without it, items render as continuous inline text.
- Excessive horizontal rules: Overusing dividers creates fragmented pages and orphan lines at page breaks.
Draft, paste, and print your notes effortlessly with md2pdf.
Make your own README PDF
Free, no login, and entirely client-side.