Markdown Editor
Live Preview

Markdown Syntax Quick Reference

Click examples below to quickly insert into the editor:

Why Choose Our Markdown to PDF Tool?

📝

Real-time Preview

Instantly view rendered results while typing Markdown, what you see is what you get.

Fast Conversion

Generate PDF with one click, no waiting, instant download.

📐

Custom Output

Supports multiple paper sizes, margins, and font settings.

🔒

Pure Local Processing

All conversions are done locally in your browser, protecting your privacy.

Markdown Syntax Explained

Markdown is a lightweight markup language that uses simple syntax to create richly formatted documents:

Headings

# Heading 1
## Heading 2  
### Heading 3

Heading 1

Heading 2

Heading 3

Text Emphasis

**bold text**
*italic text*
~~strikethrough text~~

bold text

italic text

strikethrough text

Lists

- Unordered item 1
- Unordered item 2

1. Ordered item 1
2. Ordered item 2
  • Unordered item 1
  • Unordered item 2
  1. Ordered item 1
  2. Ordered item 2

Links & Images

[link text](https://example.com)
![image description](image.jpg)

Code Blocks

```javascript
function hello() {
    console.log('Hello');
}
```
function hello() {
    console.log('Hello');
}

Tables

| Name | Age | Occupation |
|------|-----|------------|
| John | 25  | Engineer   |
| Jane | 30  | Designer   |
NameAgeOccupation
John25Engineer
Jane30Designer

Frequently Asked Questions (FAQ)

Q1: What Markdown syntax is supported?
A: Standard Markdown syntax is supported, including headings (# ~ ######), paragraphs, bold, italic, strikethrough, ordered lists, unordered lists, links, images, code blocks, quotes, tables, and more.
Q2: What format is the converted PDF?
A: Standard PDF documents (.pdf) are generated, which can be opened and printed in any PDF reader such as Adobe Acrobat, Chrome, Edge, Safari, etc.
Q3: Can I customize the PDF style?
A: Yes! You can set paper size (A4, A3, A5, Letter, Legal), margins (5-30mm), font size (12-20px), and page orientation (portrait/landscape).
Q4: Will my data be uploaded to a server?
A: Absolutely not! This tool is a pure frontend local application. All Markdown parsing and PDF generation work is done in your browser without any server interaction.
Q5: Can I import Markdown files?
A: Yes! Click the "Import" button on the toolbar to import .md or .txt format Markdown files for editing and conversion.
Q6: Does the exported PDF support Chinese?
A: Yes! It fully supports the display and export of Chinese text, ensuring your Chinese documents can be correctly converted to PDF.