Every markdown syntax feature in one place. 35+ examples with copy-paste syntax and live previews — from basic formatting to advanced extensions.
All markdown syntax at a glance.
| Feature | Syntax | Notes | |
|---|---|---|---|
| Bold | **text** | Double asterisks | |
| Italic | *text* | Single asterisks or underscores | |
| Bold Italic | ***text*** | Triple asterisks | |
| Strikethrough | ~~text~~ | Double tildes (GFM) | |
| Highlight | ==text== | Double equals (extended) | |
| Heading 1 | # Heading | Hash + space | |
| Heading 2 | ## Heading | Two hashes | |
| Heading 3 | ### Heading | Three hashes | |
| Heading 4 | #### Heading | Four hashes | |
| Heading 5 | ##### Heading | Five hashes | |
| Heading 6 | ###### Heading | Six hashes | |
| Inline Link | [text](url) | Text in brackets, URL in parens | |
| Reference Link | [text][id] | Define [id]: url elsewhere | |
| Image |  | Like link with ! prefix | |
| Image with Title |  | Title shown on hover | |
| Inline Code | `code` | Single backticks | |
| Code Block | ```\ncode\n``` | Triple backticks | |
| Syntax Highlighting | ```lang\ncode\n``` | Language after backticks | |
| Blockquote | > text | Greater-than sign | |
| Nested Blockquote | >> text | Double greater-than | |
| Unordered List | - item | Dash, asterisk, or plus | |
| Ordered List | 1. item | Number + period | |
| Nested List | - item | Indent with 2-4 spaces | |
| Task List | - [ ] task | Checkbox (GFM) | |
| Basic Table | | A | B | | Pipes + header separator | |
| Horizontal Rule | --- | Three dashes, asterisks, or underscores | |
| Line Break | two spaces + Enter | Or use <br> tag | |
| Footnote | text[^1] | Define [^1]: note at bottom | |
| Definition List | term\n: definition | Colon + space (extended) | |
| Abbreviation | *[abbr]: Full | Auto-expands in text (extended) | |
| Escape Character | \*text\* | Backslash before special chars |
Inline styles for emphasis, strikethrough, and highlighting.
Make text bold with double asterisks or double underscores
Make text italic with single asterisks or single underscores
Combine bold and italic with triple asterisks
Cross out text with double tildes (GFM extension)
Highlight text with double equals (extended syntax)
Six levels of headings from h1 (largest) to h6 (smallest). Always put a space after the hash.
Use 1–6 hash characters for heading levels
Inline links, reference-style links, and images with alt text.
Clickable link with custom text
Define link URLs separately for cleaner text
Embed an image with alt text
Image with hover tooltip
Inline code spans, fenced code blocks, and syntax highlighting.
Highlight code within a sentence
printf() functionMulti-line code in a fenced block
Add a language identifier after the opening backticks
Quote text with single or nested blockquotes.
Quote a block of text
Nest quotes inside quotes
Unordered, ordered, nested, and task lists.
Use dashes, asterisks, or plus signs
Use numbers followed by periods
Indent sub-items with 2–4 spaces
Checkboxes for to-do items (GFM extension)
Create tables with pipes and dashes. GFM extension supported on most platforms.
Columns separated by pipes with a header separator row
| Feature | Syntax |
|---|---|
| Bold | **text** |
| Italic | *text* |
Use colons in the separator row to control alignment
| Left | Center | Right |
|---|---|---|
| A | B | C |
| D | E | F |
Thematic breaks and explicit line breaks.
Three or more dashes, asterisks, or underscores on their own line
End a line with two spaces or a backslash for a hard break
Extended syntax supported by many markdown processors.
Add references that link to notes at the bottom
Term followed by a colon-prefixed definition (extended syntax)
Define abbreviations that auto-expand on hover (extended syntax)
Use backslash to display literal special characters
Separate paragraphs with a blank line. Single line breaks within a paragraph are ignored — the text will flow together as one paragraph.
End a line with two spaces for a hard line break (<br>). Or use a backslash at the end of a line. A single Enter key alone does not create a visible break in most parsers.
You can nest lists, blockquotes, and other block elements multiple levels deep. Indent with 2-4 spaces (or a tab) per nesting level. Most renderers support at least 3 levels.
Control column alignment in the separator row: :--- for left, :---: for center, ---: for right. The default is left-aligned.
| Left | Center | Right | | :--- | :----: | ----: | | A | B | C |
Most markdown renderers allow inline HTML. Use <details>, <summary>, <kbd>, <sub>, <sup>, and other tags when markdown syntax is insufficient.
<details> <summary>Click to expand</summary> Hidden content here. </details>
Stack inline styles freely: ***bold italic***, ~~**strikethrough bold**~~, or even `**code does not nest**`. Note that formatting does not apply inside code spans.
Everything you need to know.
Markdown is a lightweight markup language created by John Gruber in 2004. It lets you add formatting — headings, bold, italic, links, images, code blocks, and more — to plain text using simple syntax characters like # * [] and ```. Markdown files use the .md or .markdown extension and are widely used for documentation, README files, blogs, and note-taking.
Paste any markdown into our editor. Preview with professional themes. Export to PDF or HTML in one click.