PDFMarkdown to PDF
Convert Markdown to a downloadable A4 PDF with live preview (GFM supported)
Markdown to PDF
This document converts to a PDF file with bold, italic, and strikethrough formatting.
Features
- Live preview on the right
- One-click PDF export
- GitHub Flavored Markdown (tables, task lists, etc.)
Example Code
function hello(name) {
return `Hello, ${name}!`;
}
Example Table
| Item | Quantity | Price |
|---|---|---|
| Apple | 3 | $1.50 |
| Bread | 1 | $3.00 |
Click "Download PDF" below to export this document.
Tip: the preview is captured as-is into the PDF. Keep code blocks and tables within the visible width.
Markdown to PDF Complete Guide
Markdown to PDF converts Markdown documents to downloadable PDF files in one click. Turn README files, meeting notes, reports, resumes, and handouts into a shareable format instantly. Input is rendered with GitHub Flavored Markdown (GFM) and the preview is captured exactly as-is into an A4 PDF. All processing runs entirely in your browser.
Complete Markdown Syntax Guide
Basic Formatting
| Syntax | Result |
|---|---|
| # Heading 1 | H1 heading |
| **bold** | bold |
| *italic* | italic |
| ~~strikethrough~~ | |
| - [ ] task | Task list item |
| | A | B | | Table (GFM) |
| ```js | Fenced code block |
GFM (GitHub Flavored Markdown) Features
GFM is GitHub's Markdown extension standard, adding tables, strikethrough, task lists, fenced code blocks with language hints, and auto-links. GitHub, GitLab, VS Code preview, and Notion all support GFM. This tool fully supports GFM via the remark-gfm plugin.
PDF Styling Tips
- Prevent overflow: Keep code blocks and tables within the preview width.
- Images: Only external URL images are captured. Local file images will not appear.
- Fonts: System default fonts are used — verify CJK rendering in the preview first.
- Page breaks: Content exceeding A4 length automatically flows to the next page.
Writing a Resume or Portfolio
Combine heading hierarchy (#, ##, ###), bold, lists, and tables to build a clean resume layout. Click the Sample button to see the base structure and replace with your content. You can also mix HTML tags inside Markdown to add inline styles.
Practical Example: Meeting Notes Template
# Weekly Team Meeting — 2025-01-15 ## Attendees - Alice (PM), Bob (Dev), Carol (Design) ## Discussion 1. Q1 roadmap finalization 2. Bug priority re-triage ## Action Items - [ ] Update roadmap doc (Bob, due 01/20) - [ ] Clean up bug tracker labels (Carol, due 01/17) ## Next Meeting 2025-01-22 at 10:00 AM