Markdown Cheat Sheet: Every Syntax You Need for Ebooks
A copy-friendly reference for writing clean, structured Markdown.
Markdown is popular because it gets out of your way: you write plain text with a handful of symbols, and it turns into clean, structured documents. This cheat sheet collects the syntax that actually matters when you're writing something destined to become an ebook. Copy what you need — everything here converts cleanly to EPUB.
Headings
Headings define your book's structure and become the navigation table
of contents in the EPUB. Always put a space after the #.
# Book Title (H1)
## Chapter (H2)
### Section (H3)
#### Subsection (H4)
Use one H1 for the book or article title, H2 for chapters, and H3 for sections. E-readers build their navigation from this hierarchy.
Emphasis
*italic* or _italic_
**bold** or __bold__
***bold italic***
~~strikethrough~~
Paragraphs and line breaks
Separate paragraphs with a blank line. A single line break inside a paragraph is usually ignored — leave an empty line between blocks of text to be safe.
Lists
- Unordered item
- Another item
- Nested item
1. Ordered item
2. Second item
1. Nested ordered
Links and images
[Link text](https://example.com)

For ebooks, prefer local image paths (like
./images/cover.png) and load the images alongside your
Markdown so they get bundled into the EPUB. Remote image URLs may not
be embedded for offline reading.
Blockquotes
> A quote that stands apart from
> the surrounding text.
Code
Inline `code` uses single backticks.
```
A fenced code block
uses triple backticks.
```
Tables (GitHub-flavored)
| Feature | Supported |
| ------- | --------- |
| Tables | Yes |
| Images | Yes |
Horizontal rules
Three or more dashes on their own line create a section divider — useful for scene breaks in fiction or separating major parts.
---
Task lists (GitHub-flavored)
- [x] Finished chapter
- [ ] Still to write
Put it to work
Once your Markdown is written, you don't need any other tool to turn it into a book. Paste it into the converter and download a clean EPUB — the live preview shows exactly how each element above will render before you export.
Turn Your Markdown Into an Ebook
Free, private, and instant — the converter runs entirely in your browser. No account, no upload.
Open the Converter →