Writing Reference

Markdown Cheat Sheet

Markdown syntax reference for formatting text with headings, emphasis, links, images, lists, code and tables. Free, in-browser.

Markdown is a lightweight markup language that converts plain text to formatted documents. Developers use it daily for documentation, README files, and content management. This reference covers the essential syntax rules you need to write and style Markdown quickly without memorizing the format.

Basic syntax

MarkdownResult
# Heading 1Largest heading
## Heading 2Second-level heading
**bold**Bold text
*italic*Italic text
~~strike~~Strikethrough
`code`Inline code
[label](url)Link
![alt](url)Image
> quoteBlockquote
---Horizontal rule

Lists, code, tables

MarkdownResult
- itemBulleted list item
1. itemNumbered list item
- [ ] taskUnchecked task
- [x] taskChecked task
```langFenced code block (close with ```)
| a | b |Table row (header + --- separator)

How this reference is used

  • Writing a GitHub README or project documentation
  • Formatting blog posts or content management system entries
  • Creating API documentation with code examples and tables
  • Authoring technical guides with structured headings and emphasis
  • Drafting changelog entries or release notes

Frequently asked questions

What's the difference between soft and hard line breaks in Markdown?

A soft break (single line ending) flows text together in rendered output. A hard break requires two spaces at the line end or a blank line to start a new paragraph. Most Markdown parsers recognize both methods for flexibility.

Can I nest lists in Markdown?

Yes. Indent nested list items with spaces or tabs (usually 2–4 spaces). Most parsers support multiple nesting levels. Mixing ordered and unordered lists is allowed by indenting each level appropriately.

Why won't my code block or table render correctly?

Code blocks need blank lines before and after, plus proper indentation or triple backticks. Tables require pipes and hyphens in exact syntax. If syntax looks right, check parser flavor—GitHub, Reddit, and other platforms have slight variations.

More developer references

FreeToolz Editorial Team · Last reviewed July 2026

Compiled and checked against the relevant standards. Free to use and reference — this page runs entirely in your browser.