Markdown syntax reference
Learn Markdown syntax by seeing the source and result together
A Markdown cheat sheet is a compact reference for the punctuation used to create headings, emphasis, links, images, quotes, lists, code, tables, task items, and other document structures. Searchable examples help you find the exact pattern without memorizing every rule.
Start with everyday syntax
Headings, paragraphs, bold, italic, links, lists, blockquotes, and inline code cover most notes and README files.
Add GFM where supported
GitHub Flavored Markdown extends the basics with tables, task lists, strikethrough, and convenient automatic links.
Copy exact examples
Search by name or category, inspect the syntax, and copy the source rather than retyping punctuation that is easy to misplace.
How to use the Markdown cheat sheet
- Search for the element you want, such as “image,” “table,” “code,” or “task list.”
- Compare the source example with its rendered form and copy the syntax.
- Replace the sample values in your document, then preview the result in the renderer used by your final platform.
Markdown syntax questions
How do I create a line break?
Start a new paragraph with a blank line. For a hard break inside a paragraph, many renderers accept two trailing spaces or an HTML <br>, but behavior can vary.
Why does a list not render?
Check for a space after the list marker, consistent indentation for nested items, and a blank line before the list when it follows complex content.
