Markdown Syntax Reference
Deep-dive guides for every Markdown element — syntax, edge cases, common mistakes, and how each platform handles it. Need a quick overview instead? Start with the cheat sheet.
Text Formatting
Bold
Markdown bold syntax is **text** (or __text__).
Italic
Copy-paste italic examples with rendered output, when to pick asterisks over underscores, mid-word emphasis rules, and a platform support table.
Strikethrough
Copy-paste strikethrough examples with rendered output, plus a support table showing where double tildes work and where a single tilde does nothing.
Highlight
Copy-paste highlight examples with rendered output, where equals-sign syntax works, the mark tag fallback, and GitHub-friendly alternatives that render.
Structure
Headings
Markdown headings: # for H1 through ###### for H6, with a space after.
Lists
Copy-paste list examples with rendered output: bullets, numbers, the indentation nesting actually needs, and why your ordered list keeps restarting at 1.
Blockquotes
Copy-paste quote examples with rendered output: blockquote syntax, multi-paragraph and nested quotes, attribution, and GitHub-style callout admonitions.
Horizontal Rule
Copy-paste divider examples with rendered output, plus the spacing rule that turns your horizontal rule into an accidental heading instead of a line.
Links & Media
Advanced
Code Blocks
Markdown code block syntax: wrap code in ``` fences and add a language for highlighting.
Tables
Markdown table syntax: | pipes | for columns and a --- row under the header.
Task Lists
Copy-paste checkbox examples with rendered output, nesting rules for sub-tasks, and the single missing space that stops a task list rendering at all.
Footnotes
Copy-paste footnote examples with rendered output: numbered and named labels, multi-paragraph notes, and a table of which platforms actually render them.
Markdown Hacks
Copy-paste inline HTML that works inside Markdown: underline, centred content, resized images, keyboard keys, collapsible sections and clickable thumbnails.
Special Characters
Line Breaks
Trailing spaces, a br tag, or a backslash — all three side by side with rendered output, plus which editors silently strip the spaces and break your layout.
Escaping Characters
Copy-paste escaping examples with rendered output: literal asterisks, pipes inside tables, backticks in code, and the characters you should never escape.
Emoji
Copy-paste emoji shortcodes with the rendered result, plus a support table for GitHub, Slack, Discord and Obsidian and how emoji affect heading anchors.
Comments
Copy-paste comment syntax with the rendered result, plus a platform table showing which renderers hide HTML comments and which leak them into the page.
19 syntax guides, all free and updated for GitHub Flavored Markdown.