Markdown Cheat Sheet: Every Syntax You Need for Ebooks

A copy-friendly reference for writing clean, structured Markdown.

Published September 8, 2026 · 5 min read

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 #.

Markdown
# Book Title (H1)
## Chapter (H2)
### Section (H3)
#### Subsection (H4)
💡 Tip

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

Markdown
*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

Markdown
- Unordered item
- Another item
  - Nested item

1. Ordered item
2. Second item
   1. Nested ordered

Links and images

Markdown
[Link text](https://example.com)
![Alt text](./images/cover.png)

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

Markdown
> A quote that stands apart from
> the surrounding text.

Code

Markdown
Inline `code` uses single backticks.

```
A fenced code block
uses triple backticks.
```

Tables (GitHub-flavored)

Markdown
| 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.

Markdown
---

Task lists (GitHub-flavored)

Markdown
- [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 →

Related Articles