Markdown

Headings

# Heading 1Largest heading (H1)
## Heading 2Section heading (H2)
### Heading 3Subsection heading (H3)
#### Heading 4Sub-subsection (H4)
##### Heading 5Minor heading (H5)
###### Heading 6Smallest heading (H6)

Text Formatting

**bold**Bold text
*italic*Italic text
***bold italic***Bold and italic
~~strikethrough~~Strikethrough text
`inline code`Inline code
> blockquoteQuoted text
>> nested quoteNested blockquote
---Horizontal rule

Lists

- item / * itemUnordered list
1. itemOrdered list
- nested itemNested list (2 spaces)
- [x] checkedTask list (checked)
- [ ] uncheckedTask list (unchecked)
1. First\n 1. Sub-itemNested numbered list

Links & Images

[text](url)Inline link
[text](url "title")Link with title tooltip
![alt](image.png)Image
[ref]: urlReference-style link
<https://example.com>Auto-linked URL
[text][ref]Use reference link
[![alt](img)](url)Clickable image link

Code Blocks

```languageFenced code block start
```Fenced code block end
indented lineIndented code block (4 sp)
```jsJavaScript syntax highlight
```pythonPython syntax highlight
```diffDiff syntax highlight

Tables

| H1 | H2 |Table header row
|---|---|Header separator (required)
| cell | cell |Table data row
|:---|Left-aligned column
|:---:|Center-aligned column
|---:|Right-aligned column

GitHub Flavored Markdown

```mermaidMermaid diagrams
```mathMath (LaTeX) block
$E=mc^2$Inline math
:emoji_name:GitHub emoji shortcode
@usernameMention a user
#123Link to issue/PR number
<details><summary>Collapsible section (HTML)
footnote[^1]Footnote reference

Escape & Misc

\* \_ \#Escape special characters
&nbsp;Non-breaking space (HTML)
<br>Line break (HTML)
Two trailing spacesLine break (soft)
<!-- comment -->HTML comment (hidden)
^superscript^Superscript (some flavors)
allprintabledoc.com