Markdown Syntax Test Document
This document demonstrates all major Markdown features and syntax.
Table of Contents
- Headers
- Text Formatting
- Lists
- Links
- Images
- Code
- Tables
- Blockquotes
- Horizontal Rules
- Task Lists
- Footnotes
- Definition Lists
- Emoji
- HTML Elements
Headers
H1 Header
H2 Header
H3 Header
H4 Header
H5 Header
H6 Header
Alternative H1
Alternative H2
Text Formatting
Bold text or bold text
Italic text or italic text
Bold and italic or bold and italic
Strikethrough text
==Highlighted text== (not supported in all flavors)
Subscript: H~2~O
Superscript: X^2^
Inline code
Note: Some extended syntax may not work in all Markdown parsers.
Lists
Unordered Lists
- Item 1
- Item 2
- Nested item 2.1
- Nested item 2.2
- Deeply nested item 2.2.1
- Item 3
- Alternative syntax
- Using asterisks
- Or plus signs
- Works too
Ordered Lists
- First item
- Second item
- Nested item 2.1
- Nested item 2.2
- Third item
Mixed Lists
- First ordered item
- Nested unordered item
- Another nested item
- Second ordered item
- Nested ordered item
- Another nested ordered item
Links
Images
Code
Inline Code
Use inline code with backticks.
Use double backticks for code with a backtick: code with ` backtick
Code Blocks
Plain code block
No syntax highlighting# Python code block
def hello_world():
print("Hello, World!")
return True
if __name__ == "__main__":
hello_world()// JavaScript code block
function helloWorld() {
console.log("Hello, World!");
return true;
}
helloWorld();{
"name": "markdown-test",
"version": "1.0.0",
"description": "A comprehensive Markdown test file"
}Indented code block (4 spaces):
This is an indented code block
It preserves whitespace
And formatting
Tables
Simple Table
| Header 1 | Header 2 | Header 3 |
|---|---|---|
| Cell 1 | Cell 2 | Cell 3 |
| Cell 4 | Cell 5 | Cell 6 |
| Cell 7 | Cell 8 | Cell 9 |
Table with Alignment
| Left Aligned | Center Aligned | Right Aligned |
|---|---|---|
| Left | Center | Right |
| Text | Text | Text |
| 1 | 2 | 3 |
Table with Formatting
| Feature | Supported | Notes |
|---|---|---|
| Bold | ✓ | Works in tables |
| Italic | ✓ | Works in tables |
Code | ✓ | Works in tables |
| ✓ | Works in tables | |
| Links | ✓ | Works in tables |
Blockquotes
This is a blockquote. It can span multiple lines.
Blockquotes can be nested:
This is a nested blockquote. It's indented further.
Back to the first level.
Note: Blockquotes can contain other Markdown elements:
- Ordered lists
- Bold text
- Italic text
python# Even code blocks! print("Hello from blockquote")
Horizontal Rules
Three or more hyphens:
Three or more asterisks:
Three or more underscores:
Task Lists
- [x] Completed task
- [x] Another completed task
- [ ] Incomplete task
- [ ] Another incomplete task
- [x] Nested completed subtask
- [ ] Nested incomplete subtask
Footnotes
Here's a sentence with a footnote.[^1]
This is another footnote reference.[^2]
You can also use named footnotes.[^note]
[^1]: This is the first footnote. [^2]: This is the second footnote with formatting. [^note]: Named footnotes are easier to identify in the source.
Definition Lists
Term 1 : Definition 1a : Definition 1b
Term 2 : Definition 2a : Definition 2b
Emoji
Emoji support (depends on parser):
😄 ❤️ 👍 🚀 🎉
Unicode emoji: 😀 ❤️ 👍 🚀 🎉
HTML Elements
Markdown allows inline HTML:
This is a HTML div inside Markdown.
- HTML lists work too
- Mixed with Markdown
Click to expand collapsible section
This content is hidden by default and can be expanded.
- You can include Markdown here
- Bold text
Code
Ctrl + C for keyboard shortcuts
Escaping Characters
Use backslash to escape Markdown characters:
* Not italic *
# Not a header
[Not a link](http://example.com)
Combinations and Edge Cases
Mixed Formatting
This is combined formatting with inline code and a link.
Long Line Without Breaks
This is a very long line of text that demonstrates how Markdown handles long lines without manual line breaks. It should wrap automatically based on the viewer's width. This is useful for paragraphs of text where you don't want to manually insert line breaks.
Line Breaks
This line ends with two spaces
And continues on the next line.
This line ends with a backslash
And also continues on the next line.
This line has a manual line break.
Mathematical Expressions
Inline math (if supported): $E = mc^2$
Block math (if supported):
$$ \int_{a}^{b} f(x) , dx = F(b) - F(a) $$
Special Cases
Empty Lines and Spacing
Multiple blank lines:
Are collapsed into one.
Nested Formatting
Quote with a table:
Column 1 Column 2 Data 1 Data 2 And a code block:
pythondef in_quote(): return "Code in quote"
End of Document
This document covered all major Markdown syntax features. Different Markdown parsers may support different subsets or extensions of these features.
Last updated: February 6, 2026
Format: CommonMark + GitHub Flavored Markdown (GFM)
Markdown Syntax Test Document
This document demonstrates all major Markdown features and syntax.
Table of Contents
- Headers
- Text Formatting
- Lists
- Links
- Images
- Code
- Tables
- Blockquotes
- Horizontal Rules
- Task Lists
- Footnotes
- Definition Lists
- Emoji
- HTML Elements
Headers
H1 Header
H2 Header
H3 Header
H4 Header
H5 Header
H6 Header
Alternative H1
Alternative H2
Text Formatting
Bold text or bold text
Italic text or italic text
Bold and italic or bold and italic
Strikethrough text
==Highlighted text== (not supported in all flavors)
Subscript: H~2~O
Superscript: X^2^
Inline code
Note: Some extended syntax may not work in all Markdown parsers.
Lists
Unordered Lists
- Item 1
- Item 2
- Nested item 2.1
- Nested item 2.2
- Deeply nested item 2.2.1
- Item 3
- Alternative syntax
- Using asterisks
- Or plus signs
- Works too
Ordered Lists
- First item
- Second item
- Nested item 2.1
- Nested item 2.2
- Third item
Mixed Lists
- First ordered item
- Nested unordered item
- Another nested item
- Second ordered item
- Nested ordered item
- Another nested ordered item
Links
Images
Code
Inline Code
Use inline code with backticks.
Use double backticks for code with a backtick: code with ` backtick
Code Blocks
Plain code block
No syntax highlighting# Python code block
def hello_world():
print("Hello, World!")
return True
if __name__ == "__main__":
hello_world()// JavaScript code block
function helloWorld() {
console.log("Hello, World!");
return true;
}
helloWorld();{
"name": "markdown-test",
"version": "1.0.0",
"description": "A comprehensive Markdown test file"
}Indented code block (4 spaces):
This is an indented code block
It preserves whitespace
And formatting
Tables
Simple Table
| Header 1 | Header 2 | Header 3 |
|---|---|---|
| Cell 1 | Cell 2 | Cell 3 |
| Cell 4 | Cell 5 | Cell 6 |
| Cell 7 | Cell 8 | Cell 9 |
Table with Alignment
| Left Aligned | Center Aligned | Right Aligned |
|---|---|---|
| Left | Center | Right |
| Text | Text | Text |
| 1 | 2 | 3 |
Table with Formatting
| Feature | Supported | Notes |
|---|---|---|
| Bold | ✓ | Works in tables |
| Italic | ✓ | Works in tables |
Code | ✓ | Works in tables |
| ✓ | Works in tables | |
| Links | ✓ | Works in tables |
Blockquotes
This is a blockquote. It can span multiple lines.
Blockquotes can be nested:
This is a nested blockquote. It's indented further.
Back to the first level.
Note: Blockquotes can contain other Markdown elements:
- Ordered lists
- Bold text
- Italic text
python# Even code blocks! print("Hello from blockquote")
Horizontal Rules
Three or more hyphens:
Three or more asterisks:
Three or more underscores:
Task Lists
- [x] Completed task
- [x] Another completed task
- [ ] Incomplete task
- [ ] Another incomplete task
- [x] Nested completed subtask
- [ ] Nested incomplete subtask
Footnotes
Here's a sentence with a footnote.[^1]
This is another footnote reference.[^2]
You can also use named footnotes.[^note]
[^1]: This is the first footnote. [^2]: This is the second footnote with formatting. [^note]: Named footnotes are easier to identify in the source.
Definition Lists
Term 1 : Definition 1a : Definition 1b
Term 2 : Definition 2a : Definition 2b
Emoji
Emoji support (depends on parser):
😄 ❤️ 👍 🚀 🎉
Unicode emoji: 😀 ❤️ 👍 🚀 🎉
HTML Elements
Markdown allows inline HTML:
This is a HTML div inside Markdown.
- HTML lists work too
- Mixed with Markdown
Click to expand collapsible section
This content is hidden by default and can be expanded.
- You can include Markdown here
- Bold text
Code
Ctrl + C for keyboard shortcuts
Escaping Characters
Use backslash to escape Markdown characters:
* Not italic *
# Not a header
[Not a link](http://example.com)
Combinations and Edge Cases
Mixed Formatting
This is combined formatting with inline code and a link.
Long Line Without Breaks
This is a very long line of text that demonstrates how Markdown handles long lines without manual line breaks. It should wrap automatically based on the viewer's width. This is useful for paragraphs of text where you don't want to manually insert line breaks.
Line Breaks
This line ends with two spaces
And continues on the next line.
This line ends with a backslash
And also continues on the next line.
This line has a manual line break.
Mathematical Expressions
Inline math (if supported): $E = mc^2$
Block math (if supported):
$$ \int_{a}^{b} f(x) , dx = F(b) - F(a) $$
Special Cases
Empty Lines and Spacing
Multiple blank lines:
Are collapsed into one.
Nested Formatting
Quote with a table:
Column 1 Column 2 Data 1 Data 2 And a code block:
pythondef in_quote(): return "Code in quote"
End of Document
This document covered all major Markdown syntax features. Different Markdown parsers may support different subsets or extensions of these features.
Last updated: February 6, 2026
Format: CommonMark + GitHub Flavored Markdown (GFM)
Markdown Syntax Test Document
This document demonstrates all major Markdown features and syntax.
Table of Contents
- Headers
- Text Formatting
- Lists
- Links
- Images
- Code
- Tables
- Blockquotes
- Horizontal Rules
- Task Lists
- Footnotes
- Definition Lists
- Emoji
- HTML Elements
Headers
H1 Header
H2 Header
H3 Header
H4 Header
H5 Header
H6 Header
Alternative H1
Alternative H2
Text Formatting
Bold text or bold text
Italic text or italic text
Bold and italic or bold and italic
Strikethrough text
==Highlighted text== (not supported in all flavors)
Subscript: H~2~O
Superscript: X^2^
Inline code
Note: Some extended syntax may not work in all Markdown parsers.
Lists
Unordered Lists
- Item 1
- Item 2
- Nested item 2.1
- Nested item 2.2
- Deeply nested item 2.2.1
- Item 3
- Alternative syntax
- Using asterisks
- Or plus signs
- Works too
Ordered Lists
- First item
- Second item
- Nested item 2.1
- Nested item 2.2
- Third item
Mixed Lists
- First ordered item
- Nested unordered item
- Another nested item
- Second ordered item
- Nested ordered item
- Another nested ordered item
Links
Images
Code
Inline Code
Use inline code with backticks.
Use double backticks for code with a backtick: code with ` backtick
Code Blocks
Plain code block
No syntax highlighting# Python code block
def hello_world():
print("Hello, World!")
return True
if __name__ == "__main__":
hello_world()// JavaScript code block
function helloWorld() {
console.log("Hello, World!");
return true;
}
helloWorld();{
"name": "markdown-test",
"version": "1.0.0",
"description": "A comprehensive Markdown test file"
}Indented code block (4 spaces):
This is an indented code block
It preserves whitespace
And formatting
Tables
Simple Table
| Header 1 | Header 2 | Header 3 |
|---|---|---|
| Cell 1 | Cell 2 | Cell 3 |
| Cell 4 | Cell 5 | Cell 6 |
| Cell 7 | Cell 8 | Cell 9 |
Table with Alignment
| Left Aligned | Center Aligned | Right Aligned |
|---|---|---|
| Left | Center | Right |
| Text | Text | Text |
| 1 | 2 | 3 |
Table with Formatting
| Feature | Supported | Notes |
|---|---|---|
| Bold | ✓ | Works in tables |
| Italic | ✓ | Works in tables |
Code | ✓ | Works in tables |
| ✓ | Works in tables | |
| Links | ✓ | Works in tables |
Blockquotes
This is a blockquote. It can span multiple lines.
Blockquotes can be nested:
This is a nested blockquote. It's indented further.
Back to the first level.
Note: Blockquotes can contain other Markdown elements:
- Ordered lists
- Bold text
- Italic text
python# Even code blocks! print("Hello from blockquote")
Horizontal Rules
Three or more hyphens:
Three or more asterisks:
Three or more underscores:
Task Lists
- [x] Completed task
- [x] Another completed task
- [ ] Incomplete task
- [ ] Another incomplete task
- [x] Nested completed subtask
- [ ] Nested incomplete subtask
Footnotes
Here's a sentence with a footnote.[^1]
This is another footnote reference.[^2]
You can also use named footnotes.[^note]
[^1]: This is the first footnote. [^2]: This is the second footnote with formatting. [^note]: Named footnotes are easier to identify in the source.
Definition Lists
Term 1 : Definition 1a : Definition 1b
Term 2 : Definition 2a : Definition 2b
Emoji
Emoji support (depends on parser):
😄 ❤️ 👍 🚀 🎉
Unicode emoji: 😀 ❤️ 👍 🚀 🎉
HTML Elements
Markdown allows inline HTML:
This is a HTML div inside Markdown.
- HTML lists work too
- Mixed with Markdown
Click to expand collapsible section
This content is hidden by default and can be expanded.
- You can include Markdown here
- Bold text
Code
Ctrl + C for keyboard shortcuts
Escaping Characters
Use backslash to escape Markdown characters:
* Not italic *
# Not a header
[Not a link](http://example.com)
Combinations and Edge Cases
Mixed Formatting
This is combined formatting with inline code and a link.
Long Line Without Breaks
This is a very long line of text that demonstrates how Markdown handles long lines without manual line breaks. It should wrap automatically based on the viewer's width. This is useful for paragraphs of text where you don't want to manually insert line breaks.
Line Breaks
This line ends with two spaces
And continues on the next line.
This line ends with a backslash
And also continues on the next line.
This line has a manual line break.
Mathematical Expressions
Inline math (if supported): $E = mc^2$
Block math (if supported):
$$ \int_{a}^{b} f(x) , dx = F(b) - F(a) $$
Special Cases
Empty Lines and Spacing
Multiple blank lines:
Are collapsed into one.
Nested Formatting
Quote with a table:
Column 1 Column 2 Data 1 Data 2 And a code block:
pythondef in_quote(): return "Code in quote"
End of Document
This document covered all major Markdown syntax features. Different Markdown parsers may support different subsets or extensions of these features.
Last updated: February 6, 2026
Format: CommonMark + GitHub Flavored Markdown (GFM)
Markdown Syntax Test Document
This document demonstrates all major Markdown features and syntax.
Table of Contents
- Headers
- Text Formatting
- Lists
- Links
- Images
- Code
- Tables
- Blockquotes
- Horizontal Rules
- Task Lists
- Footnotes
- Definition Lists
- Emoji
- HTML Elements
Headers
H1 Header
H2 Header
H3 Header
H4 Header
H5 Header
H6 Header
Alternative H1
Alternative H2
Text Formatting
Bold text or bold text
Italic text or italic text
Bold and italic or bold and italic
Strikethrough text
==Highlighted text== (not supported in all flavors)
Subscript: H~2~O
Superscript: X^2^
Inline code
Note: Some extended syntax may not work in all Markdown parsers.
Lists
Unordered Lists
- Item 1
- Item 2
- Nested item 2.1
- Nested item 2.2
- Deeply nested item 2.2.1
- Item 3
- Alternative syntax
- Using asterisks
- Or plus signs
- Works too
Ordered Lists
- First item
- Second item
- Nested item 2.1
- Nested item 2.2
- Third item
Mixed Lists
- First ordered item
- Nested unordered item
- Another nested item
- Second ordered item
- Nested ordered item
- Another nested ordered item
Links
Images
Code
Inline Code
Use inline code with backticks.
Use double backticks for code with a backtick: code with ` backtick
Code Blocks
Plain code block
No syntax highlighting# Python code block
def hello_world():
print("Hello, World!")
return True
if __name__ == "__main__":
hello_world()// JavaScript code block
function helloWorld() {
console.log("Hello, World!");
return true;
}
helloWorld();{
"name": "markdown-test",
"version": "1.0.0",
"description": "A comprehensive Markdown test file"
}Indented code block (4 spaces):
This is an indented code block
It preserves whitespace
And formatting
Tables
Simple Table
| Header 1 | Header 2 | Header 3 |
|---|---|---|
| Cell 1 | Cell 2 | Cell 3 |
| Cell 4 | Cell 5 | Cell 6 |
| Cell 7 | Cell 8 | Cell 9 |
Table with Alignment
| Left Aligned | Center Aligned | Right Aligned |
|---|---|---|
| Left | Center | Right |
| Text | Text | Text |
| 1 | 2 | 3 |
Table with Formatting
| Feature | Supported | Notes |
|---|---|---|
| Bold | ✓ | Works in tables |
| Italic | ✓ | Works in tables |
Code | ✓ | Works in tables |
| ✓ | Works in tables | |
| Links | ✓ | Works in tables |
Blockquotes
This is a blockquote. It can span multiple lines.
Blockquotes can be nested:
This is a nested blockquote. It's indented further.
Back to the first level.
Note: Blockquotes can contain other Markdown elements:
- Ordered lists
- Bold text
- Italic text
python# Even code blocks! print("Hello from blockquote")
Horizontal Rules
Three or more hyphens:
Three or more asterisks:
Three or more underscores:
Task Lists
- [x] Completed task
- [x] Another completed task
- [ ] Incomplete task
- [ ] Another incomplete task
- [x] Nested completed subtask
- [ ] Nested incomplete subtask
Footnotes
Here's a sentence with a footnote.[^1]
This is another footnote reference.[^2]
You can also use named footnotes.[^note]
[^1]: This is the first footnote. [^2]: This is the second footnote with formatting. [^note]: Named footnotes are easier to identify in the source.
Definition Lists
Term 1 : Definition 1a : Definition 1b
Term 2 : Definition 2a : Definition 2b
Emoji
Emoji support (depends on parser):
😄 ❤️ 👍 🚀 🎉
Unicode emoji: 😀 ❤️ 👍 🚀 🎉
HTML Elements
Markdown allows inline HTML:
This is a HTML div inside Markdown.
- HTML lists work too
- Mixed with Markdown
Click to expand collapsible section
This content is hidden by default and can be expanded.
- You can include Markdown here
- Bold text
Code
Ctrl + C for keyboard shortcuts
Escaping Characters
Use backslash to escape Markdown characters:
* Not italic *
# Not a header
[Not a link](http://example.com)
Combinations and Edge Cases
Mixed Formatting
This is combined formatting with inline code and a link.
Long Line Without Breaks
This is a very long line of text that demonstrates how Markdown handles long lines without manual line breaks. It should wrap automatically based on the viewer's width. This is useful for paragraphs of text where you don't want to manually insert line breaks.
Line Breaks
This line ends with two spaces
And continues on the next line.
This line ends with a backslash
And also continues on the next line.
This line has a manual line break.
Mathematical Expressions
Inline math (if supported): $E = mc^2$
Block math (if supported):
$$ \int_{a}^{b} f(x) , dx = F(b) - F(a) $$
Special Cases
Empty Lines and Spacing
Multiple blank lines:
Are collapsed into one.
Nested Formatting
Quote with a table:
Column 1 Column 2 Data 1 Data 2 And a code block:
pythondef in_quote(): return "Code in quote"
End of Document
This document covered all major Markdown syntax features. Different Markdown parsers may support different subsets or extensions of these features.
Last updated: February 6, 2026
Format: CommonMark + GitHub Flavored Markdown (GFM)
Markdown Syntax Test Document
This document demonstrates all major Markdown features and syntax.
Table of Contents
- Headers
- Text Formatting
- Lists
- Links
- Images
- Code
- Tables
- Blockquotes
- Horizontal Rules
- Task Lists
- Footnotes
- Definition Lists
- Emoji
- HTML Elements
Headers
H1 Header
H2 Header
H3 Header
H4 Header
H5 Header
H6 Header
Alternative H1
Alternative H2
Text Formatting
Bold text or bold text
Italic text or italic text
Bold and italic or bold and italic
Strikethrough text
==Highlighted text== (not supported in all flavors)
Subscript: H~2~O
Superscript: X^2^
Inline code
Note: Some extended syntax may not work in all Markdown parsers.
Lists
Unordered Lists
- Item 1
- Item 2
- Nested item 2.1
- Nested item 2.2
- Deeply nested item 2.2.1
- Item 3
- Alternative syntax
- Using asterisks
- Or plus signs
- Works too
Ordered Lists
- First item
- Second item
- Nested item 2.1
- Nested item 2.2
- Third item
Mixed Lists
- First ordered item
- Nested unordered item
- Another nested item
- Second ordered item
- Nested ordered item
- Another nested ordered item
Links
Images
Code
Inline Code
Use inline code with backticks.
Use double backticks for code with a backtick: code with ` backtick
Code Blocks
Plain code block
No syntax highlighting# Python code block
def hello_world():
print("Hello, World!")
return True
if __name__ == "__main__":
hello_world()// JavaScript code block
function helloWorld() {
console.log("Hello, World!");
return true;
}
helloWorld();{
"name": "markdown-test",
"version": "1.0.0",
"description": "A comprehensive Markdown test file"
}Indented code block (4 spaces):
This is an indented code block
It preserves whitespace
And formatting
Tables
Simple Table
| Header 1 | Header 2 | Header 3 |
|---|---|---|
| Cell 1 | Cell 2 | Cell 3 |
| Cell 4 | Cell 5 | Cell 6 |
| Cell 7 | Cell 8 | Cell 9 |
Table with Alignment
| Left Aligned | Center Aligned | Right Aligned |
|---|---|---|
| Left | Center | Right |
| Text | Text | Text |
| 1 | 2 | 3 |
Table with Formatting
| Feature | Supported | Notes |
|---|---|---|
| Bold | ✓ | Works in tables |
| Italic | ✓ | Works in tables |
Code | ✓ | Works in tables |
| ✓ | Works in tables | |
| Links | ✓ | Works in tables |
Blockquotes
This is a blockquote. It can span multiple lines.
Blockquotes can be nested:
This is a nested blockquote. It's indented further.
Back to the first level.
Note: Blockquotes can contain other Markdown elements:
- Ordered lists
- Bold text
- Italic text
python# Even code blocks! print("Hello from blockquote")
Horizontal Rules
Three or more hyphens:
Three or more asterisks:
Three or more underscores:
Task Lists
- [x] Completed task
- [x] Another completed task
- [ ] Incomplete task
- [ ] Another incomplete task
- [x] Nested completed subtask
- [ ] Nested incomplete subtask
Footnotes
Here's a sentence with a footnote.[^1]
This is another footnote reference.[^2]
You can also use named footnotes.[^note]
[^1]: This is the first footnote. [^2]: This is the second footnote with formatting. [^note]: Named footnotes are easier to identify in the source.
Definition Lists
Term 1 : Definition 1a : Definition 1b
Term 2 : Definition 2a : Definition 2b
Emoji
Emoji support (depends on parser):
😄 ❤️ 👍 🚀 🎉
Unicode emoji: 😀 ❤️ 👍 🚀 🎉
HTML Elements
Markdown allows inline HTML:
This is a HTML div inside Markdown.
- HTML lists work too
- Mixed with Markdown
Click to expand collapsible section
This content is hidden by default and can be expanded.
- You can include Markdown here
- Bold text
Code
Ctrl + C for keyboard shortcuts
Escaping Characters
Use backslash to escape Markdown characters:
* Not italic *
# Not a header
[Not a link](http://example.com)
Combinations and Edge Cases
Mixed Formatting
This is combined formatting with inline code and a link.
Long Line Without Breaks
This is a very long line of text that demonstrates how Markdown handles long lines without manual line breaks. It should wrap automatically based on the viewer's width. This is useful for paragraphs of text where you don't want to manually insert line breaks.
Line Breaks
This line ends with two spaces
And continues on the next line.
This line ends with a backslash
And also continues on the next line.
This line has a manual line break.
Mathematical Expressions
Inline math (if supported): $E = mc^2$
Block math (if supported):
$$ \int_{a}^{b} f(x) , dx = F(b) - F(a) $$
Special Cases
Empty Lines and Spacing
Multiple blank lines:
Are collapsed into one.
Nested Formatting
Quote with a table:
Column 1 Column 2 Data 1 Data 2 And a code block:
pythondef in_quote(): return "Code in quote"
End of Document
This document covered all major Markdown syntax features. Different Markdown parsers may support different subsets or extensions of these features.
Last updated: February 6, 2026
Format: CommonMark + GitHub Flavored Markdown (GFM)
Markdown Syntax Test Document
This document demonstrates all major Markdown features and syntax.
Table of Contents
- Headers
- Text Formatting
- Lists
- Links
- Images
- Code
- Tables
- Blockquotes
- Horizontal Rules
- Task Lists
- Footnotes
- Definition Lists
- Emoji
- HTML Elements
Headers
H1 Header
H2 Header
H3 Header
H4 Header
H5 Header
H6 Header
Alternative H1
Alternative H2
Text Formatting
Bold text or bold text
Italic text or italic text
Bold and italic or bold and italic
Strikethrough text
==Highlighted text== (not supported in all flavors)
Subscript: H~2~O
Superscript: X^2^
Inline code
Note: Some extended syntax may not work in all Markdown parsers.
Lists
Unordered Lists
- Item 1
- Item 2
- Nested item 2.1
- Nested item 2.2
- Deeply nested item 2.2.1
- Item 3
- Alternative syntax
- Using asterisks
- Or plus signs
- Works too
Ordered Lists
- First item
- Second item
- Nested item 2.1
- Nested item 2.2
- Third item
Mixed Lists
- First ordered item
- Nested unordered item
- Another nested item
- Second ordered item
- Nested ordered item
- Another nested ordered item
Links
Images
Code
Inline Code
Use inline code with backticks.
Use double backticks for code with a backtick: code with ` backtick
Code Blocks
Plain code block
No syntax highlighting# Python code block
def hello_world():
print("Hello, World!")
return True
if __name__ == "__main__":
hello_world()// JavaScript code block
function helloWorld() {
console.log("Hello, World!");
return true;
}
helloWorld();{
"name": "markdown-test",
"version": "1.0.0",
"description": "A comprehensive Markdown test file"
}Indented code block (4 spaces):
This is an indented code block
It preserves whitespace
And formatting
Tables
Simple Table
| Header 1 | Header 2 | Header 3 |
|---|---|---|
| Cell 1 | Cell 2 | Cell 3 |
| Cell 4 | Cell 5 | Cell 6 |
| Cell 7 | Cell 8 | Cell 9 |
Table with Alignment
| Left Aligned | Center Aligned | Right Aligned |
|---|---|---|
| Left | Center | Right |
| Text | Text | Text |
| 1 | 2 | 3 |
Table with Formatting
| Feature | Supported | Notes |
|---|---|---|
| Bold | ✓ | Works in tables |
| Italic | ✓ | Works in tables |
Code | ✓ | Works in tables |
| ✓ | Works in tables | |
| Links | ✓ | Works in tables |
Blockquotes
This is a blockquote. It can span multiple lines.
Blockquotes can be nested:
This is a nested blockquote. It's indented further.
Back to the first level.
Note: Blockquotes can contain other Markdown elements:
- Ordered lists
- Bold text
- Italic text
python# Even code blocks! print("Hello from blockquote")
Horizontal Rules
Three or more hyphens:
Three or more asterisks:
Three or more underscores:
Task Lists
- [x] Completed task
- [x] Another completed task
- [ ] Incomplete task
- [ ] Another incomplete task
- [x] Nested completed subtask
- [ ] Nested incomplete subtask
Footnotes
Here's a sentence with a footnote.[^1]
This is another footnote reference.[^2]
You can also use named footnotes.[^note]
[^1]: This is the first footnote. [^2]: This is the second footnote with formatting. [^note]: Named footnotes are easier to identify in the source.
Definition Lists
Term 1 : Definition 1a : Definition 1b
Term 2 : Definition 2a : Definition 2b
Emoji
Emoji support (depends on parser):
😄 ❤️ 👍 🚀 🎉
Unicode emoji: 😀 ❤️ 👍 🚀 🎉
HTML Elements
Markdown allows inline HTML:
This is a HTML div inside Markdown.
- HTML lists work too
- Mixed with Markdown
Click to expand collapsible section
This content is hidden by default and can be expanded.
- You can include Markdown here
- Bold text
Code
Ctrl + C for keyboard shortcuts
Escaping Characters
Use backslash to escape Markdown characters:
* Not italic *
# Not a header
[Not a link](http://example.com)
Combinations and Edge Cases
Mixed Formatting
This is combined formatting with inline code and a link.
Long Line Without Breaks
This is a very long line of text that demonstrates how Markdown handles long lines without manual line breaks. It should wrap automatically based on the viewer's width. This is useful for paragraphs of text where you don't want to manually insert line breaks.
Line Breaks
This line ends with two spaces
And continues on the next line.
This line ends with a backslash
And also continues on the next line.
This line has a manual line break.
Mathematical Expressions
Inline math (if supported): $E = mc^2$
Block math (if supported):
$$ \int_{a}^{b} f(x) , dx = F(b) - F(a) $$
Special Cases
Empty Lines and Spacing
Multiple blank lines:
Are collapsed into one.
Nested Formatting
Quote with a table:
Column 1 Column 2 Data 1 Data 2 And a code block:
pythondef in_quote(): return "Code in quote"
End of Document
This document covered all major Markdown syntax features. Different Markdown parsers may support different subsets or extensions of these features.
Last updated: February 6, 2026
Format: CommonMark + GitHub Flavored Markdown (GFM)
Markdown Syntax Test Document
This document demonstrates all major Markdown features and syntax.
Table of Contents
- Headers
- Text Formatting
- Lists
- Links
- Images
- Code
- Tables
- Blockquotes
- Horizontal Rules
- Task Lists
- Footnotes
- Definition Lists
- Emoji
- HTML Elements
Headers
H1 Header
H2 Header
H3 Header
H4 Header
H5 Header
H6 Header
Alternative H1
Alternative H2
Text Formatting
Bold text or bold text
Italic text or italic text
Bold and italic or bold and italic
Strikethrough text
==Highlighted text== (not supported in all flavors)
Subscript: H~2~O
Superscript: X^2^
Inline code
Note: Some extended syntax may not work in all Markdown parsers.
Lists
Unordered Lists
- Item 1
- Item 2
- Nested item 2.1
- Nested item 2.2
- Deeply nested item 2.2.1
- Item 3
- Alternative syntax
- Using asterisks
- Or plus signs
- Works too
Ordered Lists
- First item
- Second item
- Nested item 2.1
- Nested item 2.2
- Third item
Mixed Lists
- First ordered item
- Nested unordered item
- Another nested item
- Second ordered item
- Nested ordered item
- Another nested ordered item
Links
Images
Code
Inline Code
Use inline code with backticks.
Use double backticks for code with a backtick: code with ` backtick
Code Blocks
Plain code block
No syntax highlighting# Python code block
def hello_world():
print("Hello, World!")
return True
if __name__ == "__main__":
hello_world()// JavaScript code block
function helloWorld() {
console.log("Hello, World!");
return true;
}
helloWorld();{
"name": "markdown-test",
"version": "1.0.0",
"description": "A comprehensive Markdown test file"
}Indented code block (4 spaces):
This is an indented code block
It preserves whitespace
And formatting
Tables
Simple Table
| Header 1 | Header 2 | Header 3 |
|---|---|---|
| Cell 1 | Cell 2 | Cell 3 |
| Cell 4 | Cell 5 | Cell 6 |
| Cell 7 | Cell 8 | Cell 9 |
Table with Alignment
| Left Aligned | Center Aligned | Right Aligned |
|---|---|---|
| Left | Center | Right |
| Text | Text | Text |
| 1 | 2 | 3 |
Table with Formatting
| Feature | Supported | Notes |
|---|---|---|
| Bold | ✓ | Works in tables |
| Italic | ✓ | Works in tables |
Code | ✓ | Works in tables |
| ✓ | Works in tables | |
| Links | ✓ | Works in tables |
Blockquotes
This is a blockquote. It can span multiple lines.
Blockquotes can be nested:
This is a nested blockquote. It's indented further.
Back to the first level.
Note: Blockquotes can contain other Markdown elements:
- Ordered lists
- Bold text
- Italic text
python# Even code blocks! print("Hello from blockquote")
Horizontal Rules
Three or more hyphens:
Three or more asterisks:
Three or more underscores:
Task Lists
- [x] Completed task
- [x] Another completed task
- [ ] Incomplete task
- [ ] Another incomplete task
- [x] Nested completed subtask
- [ ] Nested incomplete subtask
Footnotes
Here's a sentence with a footnote.[^1]
This is another footnote reference.[^2]
You can also use named footnotes.[^note]
[^1]: This is the first footnote. [^2]: This is the second footnote with formatting. [^note]: Named footnotes are easier to identify in the source.
Definition Lists
Term 1 : Definition 1a : Definition 1b
Term 2 : Definition 2a : Definition 2b
Emoji
Emoji support (depends on parser):
😄 ❤️ 👍 🚀 🎉
Unicode emoji: 😀 ❤️ 👍 🚀 🎉
HTML Elements
Markdown allows inline HTML:
This is a HTML div inside Markdown.
- HTML lists work too
- Mixed with Markdown
Click to expand collapsible section
This content is hidden by default and can be expanded.
- You can include Markdown here
- Bold text
Code
Ctrl + C for keyboard shortcuts
Escaping Characters
Use backslash to escape Markdown characters:
* Not italic *
# Not a header
[Not a link](http://example.com)
Combinations and Edge Cases
Mixed Formatting
This is combined formatting with inline code and a link.
Long Line Without Breaks
This is a very long line of text that demonstrates how Markdown handles long lines without manual line breaks. It should wrap automatically based on the viewer's width. This is useful for paragraphs of text where you don't want to manually insert line breaks.
Line Breaks
This line ends with two spaces
And continues on the next line.
This line ends with a backslash
And also continues on the next line.
This line has a manual line break.
Mathematical Expressions
Inline math (if supported): $E = mc^2$
Block math (if supported):
$$ \int_{a}^{b} f(x) , dx = F(b) - F(a) $$
Special Cases
Empty Lines and Spacing
Multiple blank lines:
Are collapsed into one.
Nested Formatting
Quote with a table:
Column 1 Column 2 Data 1 Data 2 And a code block:
pythondef in_quote(): return "Code in quote"
End of Document
This document covered all major Markdown syntax features. Different Markdown parsers may support different subsets or extensions of these features.
Last updated: February 6, 2026
Format: CommonMark + GitHub Flavored Markdown (GFM)
Markdown Syntax Test Document
This document demonstrates all major Markdown features and syntax.
Table of Contents
- Headers
- Text Formatting
- Lists
- Links
- Images
- Code
- Tables
- Blockquotes
- Horizontal Rules
- Task Lists
- Footnotes
- Definition Lists
- Emoji
- HTML Elements
Headers
H1 Header
H2 Header
H3 Header
H4 Header
H5 Header
H6 Header
Alternative H1
Alternative H2
Text Formatting
Bold text or bold text
Italic text or italic text
Bold and italic or bold and italic
Strikethrough text
==Highlighted text== (not supported in all flavors)
Subscript: H~2~O
Superscript: X^2^
Inline code
Note: Some extended syntax may not work in all Markdown parsers.
Lists
Unordered Lists
- Item 1
- Item 2
- Nested item 2.1
- Nested item 2.2
- Deeply nested item 2.2.1
- Item 3
- Alternative syntax
- Using asterisks
- Or plus signs
- Works too
Ordered Lists
- First item
- Second item
- Nested item 2.1
- Nested item 2.2
- Third item
Mixed Lists
- First ordered item
- Nested unordered item
- Another nested item
- Second ordered item
- Nested ordered item
- Another nested ordered item
Links
Images
Code
Inline Code
Use inline code with backticks.
Use double backticks for code with a backtick: code with ` backtick
Code Blocks
Plain code block
No syntax highlighting# Python code block
def hello_world():
print("Hello, World!")
return True
if __name__ == "__main__":
hello_world()// JavaScript code block
function helloWorld() {
console.log("Hello, World!");
return true;
}
helloWorld();{
"name": "markdown-test",
"version": "1.0.0",
"description": "A comprehensive Markdown test file"
}Indented code block (4 spaces):
This is an indented code block
It preserves whitespace
And formatting
Tables
Simple Table
| Header 1 | Header 2 | Header 3 |
|---|---|---|
| Cell 1 | Cell 2 | Cell 3 |
| Cell 4 | Cell 5 | Cell 6 |
| Cell 7 | Cell 8 | Cell 9 |
Table with Alignment
| Left Aligned | Center Aligned | Right Aligned |
|---|---|---|
| Left | Center | Right |
| Text | Text | Text |
| 1 | 2 | 3 |
Table with Formatting
| Feature | Supported | Notes |
|---|---|---|
| Bold | ✓ | Works in tables |
| Italic | ✓ | Works in tables |
Code | ✓ | Works in tables |
| ✓ | Works in tables | |
| Links | ✓ | Works in tables |
Blockquotes
This is a blockquote. It can span multiple lines.
Blockquotes can be nested:
This is a nested blockquote. It's indented further.
Back to the first level.
Note: Blockquotes can contain other Markdown elements:
- Ordered lists
- Bold text
- Italic text
python# Even code blocks! print("Hello from blockquote")
Horizontal Rules
Three or more hyphens:
Three or more asterisks:
Three or more underscores:
Task Lists
- [x] Completed task
- [x] Another completed task
- [ ] Incomplete task
- [ ] Another incomplete task
- [x] Nested completed subtask
- [ ] Nested incomplete subtask
Footnotes
Here's a sentence with a footnote.[^1]
This is another footnote reference.[^2]
You can also use named footnotes.[^note]
[^1]: This is the first footnote. [^2]: This is the second footnote with formatting. [^note]: Named footnotes are easier to identify in the source.
Definition Lists
Term 1 : Definition 1a : Definition 1b
Term 2 : Definition 2a : Definition 2b
Emoji
Emoji support (depends on parser):
😄 ❤️ 👍 🚀 🎉
Unicode emoji: 😀 ❤️ 👍 🚀 🎉
HTML Elements
Markdown allows inline HTML:
This is a HTML div inside Markdown.
- HTML lists work too
- Mixed with Markdown
Click to expand collapsible section
This content is hidden by default and can be expanded.
- You can include Markdown here
- Bold text
Code
Ctrl + C for keyboard shortcuts
Escaping Characters
Use backslash to escape Markdown characters:
* Not italic *
# Not a header
[Not a link](http://example.com)
Combinations and Edge Cases
Mixed Formatting
This is combined formatting with inline code and a link.
Long Line Without Breaks
This is a very long line of text that demonstrates how Markdown handles long lines without manual line breaks. It should wrap automatically based on the viewer's width. This is useful for paragraphs of text where you don't want to manually insert line breaks.
Line Breaks
This line ends with two spaces
And continues on the next line.
This line ends with a backslash
And also continues on the next line.
This line has a manual line break.
Mathematical Expressions
Inline math (if supported): $E = mc^2$
Block math (if supported):
$$ \int_{a}^{b} f(x) , dx = F(b) - F(a) $$
Special Cases
Empty Lines and Spacing
Multiple blank lines:
Are collapsed into one.
Nested Formatting
Quote with a table:
Column 1 Column 2 Data 1 Data 2 And a code block:
pythondef in_quote(): return "Code in quote"
End of Document
This document covered all major Markdown syntax features. Different Markdown parsers may support different subsets or extensions of these features.
Last updated: February 6, 2026
Format: CommonMark + GitHub Flavored Markdown (GFM)
Markdown Syntax Test Document
This document demonstrates all major Markdown features and syntax.
Table of Contents
- Headers
- Text Formatting
- Lists
- Links
- Images
- Code
- Tables
- Blockquotes
- Horizontal Rules
- Task Lists
- Footnotes
- Definition Lists
- Emoji
- HTML Elements
Headers
H1 Header
H2 Header
H3 Header
H4 Header
H5 Header
H6 Header
Alternative H1
Alternative H2
Text Formatting
Bold text or bold text
Italic text or italic text
Bold and italic or bold and italic
Strikethrough text
==Highlighted text== (not supported in all flavors)
Subscript: H~2~O
Superscript: X^2^
Inline code
Note: Some extended syntax may not work in all Markdown parsers.
Lists
Unordered Lists
- Item 1
- Item 2
- Nested item 2.1
- Nested item 2.2
- Deeply nested item 2.2.1
- Item 3
- Alternative syntax
- Using asterisks
- Or plus signs
- Works too
Ordered Lists
- First item
- Second item
- Nested item 2.1
- Nested item 2.2
- Third item
Mixed Lists
- First ordered item
- Nested unordered item
- Another nested item
- Second ordered item
- Nested ordered item
- Another nested ordered item
Links
Images
Code
Inline Code
Use inline code with backticks.
Use double backticks for code with a backtick: code with ` backtick
Code Blocks
Plain code block
No syntax highlighting# Python code block
def hello_world():
print("Hello, World!")
return True
if __name__ == "__main__":
hello_world()// JavaScript code block
function helloWorld() {
console.log("Hello, World!");
return true;
}
helloWorld();{
"name": "markdown-test",
"version": "1.0.0",
"description": "A comprehensive Markdown test file"
}Indented code block (4 spaces):
This is an indented code block
It preserves whitespace
And formatting
Tables
Simple Table
| Header 1 | Header 2 | Header 3 |
|---|---|---|
| Cell 1 | Cell 2 | Cell 3 |
| Cell 4 | Cell 5 | Cell 6 |
| Cell 7 | Cell 8 | Cell 9 |
Table with Alignment
| Left Aligned | Center Aligned | Right Aligned |
|---|---|---|
| Left | Center | Right |
| Text | Text | Text |
| 1 | 2 | 3 |
Table with Formatting
| Feature | Supported | Notes |
|---|---|---|
| Bold | ✓ | Works in tables |
| Italic | ✓ | Works in tables |
Code | ✓ | Works in tables |
| ✓ | Works in tables | |
| Links | ✓ | Works in tables |
Blockquotes
This is a blockquote. It can span multiple lines.
Blockquotes can be nested:
This is a nested blockquote. It's indented further.
Back to the first level.
Note: Blockquotes can contain other Markdown elements:
- Ordered lists
- Bold text
- Italic text
python# Even code blocks! print("Hello from blockquote")
Horizontal Rules
Three or more hyphens:
Three or more asterisks:
Three or more underscores:
Task Lists
- [x] Completed task
- [x] Another completed task
- [ ] Incomplete task
- [ ] Another incomplete task
- [x] Nested completed subtask
- [ ] Nested incomplete subtask
Footnotes
Here's a sentence with a footnote.[^1]
This is another footnote reference.[^2]
You can also use named footnotes.[^note]
[^1]: This is the first footnote. [^2]: This is the second footnote with formatting. [^note]: Named footnotes are easier to identify in the source.
Definition Lists
Term 1 : Definition 1a : Definition 1b
Term 2 : Definition 2a : Definition 2b
Emoji
Emoji support (depends on parser):
😄 ❤️ 👍 🚀 🎉
Unicode emoji: 😀 ❤️ 👍 🚀 🎉
HTML Elements
Markdown allows inline HTML:
This is a HTML div inside Markdown.
- HTML lists work too
- Mixed with Markdown
Click to expand collapsible section
This content is hidden by default and can be expanded.
- You can include Markdown here
- Bold text
Code
Ctrl + C for keyboard shortcuts
Escaping Characters
Use backslash to escape Markdown characters:
* Not italic *
# Not a header
[Not a link](http://example.com)
Combinations and Edge Cases
Mixed Formatting
This is combined formatting with inline code and a link.
Long Line Without Breaks
This is a very long line of text that demonstrates how Markdown handles long lines without manual line breaks. It should wrap automatically based on the viewer's width. This is useful for paragraphs of text where you don't want to manually insert line breaks.
Line Breaks
This line ends with two spaces
And continues on the next line.
This line ends with a backslash
And also continues on the next line.
This line has a manual line break.
Mathematical Expressions
Inline math (if supported): $E = mc^2$
Block math (if supported):
$$ \int_{a}^{b} f(x) , dx = F(b) - F(a) $$
Special Cases
Empty Lines and Spacing
Multiple blank lines:
Are collapsed into one.
Nested Formatting
Quote with a table:
Column 1 Column 2 Data 1 Data 2 And a code block:
pythondef in_quote(): return "Code in quote"
End of Document
This document covered all major Markdown syntax features. Different Markdown parsers may support different subsets or extensions of these features.
Last updated: February 6, 2026
Format: CommonMark + GitHub Flavored Markdown (GFM)
Markdown Syntax Test Document
This document demonstrates all major Markdown features and syntax.
Table of Contents
- Headers
- Text Formatting
- Lists
- Links
- Images
- Code
- Tables
- Blockquotes
- Horizontal Rules
- Task Lists
- Footnotes
- Definition Lists
- Emoji
- HTML Elements
Headers
H1 Header
H2 Header
H3 Header
H4 Header
H5 Header
H6 Header
Alternative H1
Alternative H2
Text Formatting
Bold text or bold text
Italic text or italic text
Bold and italic or bold and italic
Strikethrough text
==Highlighted text== (not supported in all flavors)
Subscript: H~2~O
Superscript: X^2^
Inline code
Note: Some extended syntax may not work in all Markdown parsers.
Lists
Unordered Lists
- Item 1
- Item 2
- Nested item 2.1
- Nested item 2.2
- Deeply nested item 2.2.1
- Item 3
- Alternative syntax
- Using asterisks
- Or plus signs
- Works too
Ordered Lists
- First item
- Second item
- Nested item 2.1
- Nested item 2.2
- Third item
Mixed Lists
- First ordered item
- Nested unordered item
- Another nested item
- Second ordered item
- Nested ordered item
- Another nested ordered item
Links
Images
Code
Inline Code
Use inline code with backticks.
Use double backticks for code with a backtick: code with ` backtick
Code Blocks
Plain code block
No syntax highlighting# Python code block
def hello_world():
print("Hello, World!")
return True
if __name__ == "__main__":
hello_world()// JavaScript code block
function helloWorld() {
console.log("Hello, World!");
return true;
}
helloWorld();{
"name": "markdown-test",
"version": "1.0.0",
"description": "A comprehensive Markdown test file"
}Indented code block (4 spaces):
This is an indented code block
It preserves whitespace
And formatting
Tables
Simple Table
| Header 1 | Header 2 | Header 3 |
|---|---|---|
| Cell 1 | Cell 2 | Cell 3 |
| Cell 4 | Cell 5 | Cell 6 |
| Cell 7 | Cell 8 | Cell 9 |
Table with Alignment
| Left Aligned | Center Aligned | Right Aligned |
|---|---|---|
| Left | Center | Right |
| Text | Text | Text |
| 1 | 2 | 3 |
Table with Formatting
| Feature | Supported | Notes |
|---|---|---|
| Bold | ✓ | Works in tables |
| Italic | ✓ | Works in tables |
Code | ✓ | Works in tables |
| ✓ | Works in tables | |
| Links | ✓ | Works in tables |
Blockquotes
This is a blockquote. It can span multiple lines.
Blockquotes can be nested:
This is a nested blockquote. It's indented further.
Back to the first level.
Note: Blockquotes can contain other Markdown elements:
- Ordered lists
- Bold text
- Italic text
python# Even code blocks! print("Hello from blockquote")
Horizontal Rules
Three or more hyphens:
Three or more asterisks:
Three or more underscores:
Task Lists
- [x] Completed task
- [x] Another completed task
- [ ] Incomplete task
- [ ] Another incomplete task
- [x] Nested completed subtask
- [ ] Nested incomplete subtask
Footnotes
Here's a sentence with a footnote.[^1]
This is another footnote reference.[^2]
You can also use named footnotes.[^note]
[^1]: This is the first footnote. [^2]: This is the second footnote with formatting. [^note]: Named footnotes are easier to identify in the source.
Definition Lists
Term 1 : Definition 1a : Definition 1b
Term 2 : Definition 2a : Definition 2b
Emoji
Emoji support (depends on parser):
😄 ❤️ 👍 🚀 🎉
Unicode emoji: 😀 ❤️ 👍 🚀 🎉
HTML Elements
Markdown allows inline HTML:
This is a HTML div inside Markdown.
- HTML lists work too
- Mixed with Markdown
Click to expand collapsible section
This content is hidden by default and can be expanded.
- You can include Markdown here
- Bold text
Code
Ctrl + C for keyboard shortcuts
Escaping Characters
Use backslash to escape Markdown characters:
* Not italic *
# Not a header
[Not a link](http://example.com)
Combinations and Edge Cases
Mixed Formatting
This is combined formatting with inline code and a link.
Long Line Without Breaks
This is a very long line of text that demonstrates how Markdown handles long lines without manual line breaks. It should wrap automatically based on the viewer's width. This is useful for paragraphs of text where you don't want to manually insert line breaks.
Line Breaks
This line ends with two spaces
And continues on the next line.
This line ends with a backslash
And also continues on the next line.
This line has a manual line break.
Mathematical Expressions
Inline math (if supported): $E = mc^2$
Block math (if supported):
$$ \int_{a}^{b} f(x) , dx = F(b) - F(a) $$
Special Cases
Empty Lines and Spacing
Multiple blank lines:
Are collapsed into one.
Nested Formatting
Quote with a table:
Column 1 Column 2 Data 1 Data 2 And a code block:
pythondef in_quote(): return "Code in quote"
End of Document
This document covered all major Markdown syntax features. Different Markdown parsers may support different subsets or extensions of these features.
Last updated: February 6, 2026
Format: CommonMark + GitHub Flavored Markdown (GFM)
Markdown Syntax Test Document
This document demonstrates all major Markdown features and syntax.
Table of Contents
- Headers
- Text Formatting
- Lists
- Links
- Images
- Code
- Tables
- Blockquotes
- Horizontal Rules
- Task Lists
- Footnotes
- Definition Lists
- Emoji
- HTML Elements
Headers
H1 Header
H2 Header
H3 Header
H4 Header
H5 Header
H6 Header
Alternative H1
Alternative H2
Text Formatting
Bold text or bold text
Italic text or italic text
Bold and italic or bold and italic
Strikethrough text
==Highlighted text== (not supported in all flavors)
Subscript: H~2~O
Superscript: X^2^
Inline code
Note: Some extended syntax may not work in all Markdown parsers.
Lists
Unordered Lists
- Item 1
- Item 2
- Nested item 2.1
- Nested item 2.2
- Deeply nested item 2.2.1
- Item 3
- Alternative syntax
- Using asterisks
- Or plus signs
- Works too
Ordered Lists
- First item
- Second item
- Nested item 2.1
- Nested item 2.2
- Third item
Mixed Lists
- First ordered item
- Nested unordered item
- Another nested item
- Second ordered item
- Nested ordered item
- Another nested ordered item
Links
Images
Code
Inline Code
Use inline code with backticks.
Use double backticks for code with a backtick: code with ` backtick
Code Blocks
Plain code block
No syntax highlighting# Python code block
def hello_world():
print("Hello, World!")
return True
if __name__ == "__main__":
hello_world()// JavaScript code block
function helloWorld() {
console.log("Hello, World!");
return true;
}
helloWorld();{
"name": "markdown-test",
"version": "1.0.0",
"description": "A comprehensive Markdown test file"
}Indented code block (4 spaces):
This is an indented code block
It preserves whitespace
And formatting
Tables
Simple Table
| Header 1 | Header 2 | Header 3 |
|---|---|---|
| Cell 1 | Cell 2 | Cell 3 |
| Cell 4 | Cell 5 | Cell 6 |
| Cell 7 | Cell 8 | Cell 9 |
Table with Alignment
| Left Aligned | Center Aligned | Right Aligned |
|---|---|---|
| Left | Center | Right |
| Text | Text | Text |
| 1 | 2 | 3 |
Table with Formatting
| Feature | Supported | Notes |
|---|---|---|
| Bold | ✓ | Works in tables |
| Italic | ✓ | Works in tables |
Code | ✓ | Works in tables |
| ✓ | Works in tables | |
| Links | ✓ | Works in tables |
Blockquotes
This is a blockquote. It can span multiple lines.
Blockquotes can be nested:
This is a nested blockquote. It's indented further.
Back to the first level.
Note: Blockquotes can contain other Markdown elements:
- Ordered lists
- Bold text
- Italic text
python# Even code blocks! print("Hello from blockquote")
Horizontal Rules
Three or more hyphens:
Three or more asterisks:
Three or more underscores:
Task Lists
- [x] Completed task
- [x] Another completed task
- [ ] Incomplete task
- [ ] Another incomplete task
- [x] Nested completed subtask
- [ ] Nested incomplete subtask
Footnotes
Here's a sentence with a footnote.[^1]
This is another footnote reference.[^2]
You can also use named footnotes.[^note]
[^1]: This is the first footnote. [^2]: This is the second footnote with formatting. [^note]: Named footnotes are easier to identify in the source.
Definition Lists
Term 1 : Definition 1a : Definition 1b
Term 2 : Definition 2a : Definition 2b
Emoji
Emoji support (depends on parser):
😄 ❤️ 👍 🚀 🎉
Unicode emoji: 😀 ❤️ 👍 🚀 🎉
HTML Elements
Markdown allows inline HTML:
This is a HTML div inside Markdown.
- HTML lists work too
- Mixed with Markdown
Click to expand collapsible section
This content is hidden by default and can be expanded.
- You can include Markdown here
- Bold text
Code
Ctrl + C for keyboard shortcuts
Escaping Characters
Use backslash to escape Markdown characters:
* Not italic *
# Not a header
[Not a link](http://example.com)
Combinations and Edge Cases
Mixed Formatting
This is combined formatting with inline code and a link.
Long Line Without Breaks
This is a very long line of text that demonstrates how Markdown handles long lines without manual line breaks. It should wrap automatically based on the viewer's width. This is useful for paragraphs of text where you don't want to manually insert line breaks.
Line Breaks
This line ends with two spaces
And continues on the next line.
This line ends with a backslash
And also continues on the next line.
This line has a manual line break.
Mathematical Expressions
Inline math (if supported): $E = mc^2$
Block math (if supported):
$$ \int_{a}^{b} f(x) , dx = F(b) - F(a) $$
Special Cases
Empty Lines and Spacing
Multiple blank lines:
Are collapsed into one.
Nested Formatting
Quote with a table:
Column 1 Column 2 Data 1 Data 2 And a code block:
pythondef in_quote(): return "Code in quote"
End of Document
This document covered all major Markdown syntax features. Different Markdown parsers may support different subsets or extensions of these features.
Last updated: February 6, 2026
Format: CommonMark + GitHub Flavored Markdown (GFM)
Markdown Syntax Test Document
This document demonstrates all major Markdown features and syntax.
Table of Contents
- Headers
- Text Formatting
- Lists
- Links
- Images
- Code
- Tables
- Blockquotes
- Horizontal Rules
- Task Lists
- Footnotes
- Definition Lists
- Emoji
- HTML Elements
Headers
H1 Header
H2 Header
H3 Header
H4 Header
H5 Header
H6 Header
Alternative H1
Alternative H2
Text Formatting
Bold text or bold text
Italic text or italic text
Bold and italic or bold and italic
Strikethrough text
==Highlighted text== (not supported in all flavors)
Subscript: H~2~O
Superscript: X^2^
Inline code
Note: Some extended syntax may not work in all Markdown parsers.
Lists
Unordered Lists
- Item 1
- Item 2
- Nested item 2.1
- Nested item 2.2
- Deeply nested item 2.2.1
- Item 3
- Alternative syntax
- Using asterisks
- Or plus signs
- Works too
Ordered Lists
- First item
- Second item
- Nested item 2.1
- Nested item 2.2
- Third item
Mixed Lists
- First ordered item
- Nested unordered item
- Another nested item
- Second ordered item
- Nested ordered item
- Another nested ordered item
Links
Images
Code
Inline Code
Use inline code with backticks.
Use double backticks for code with a backtick: code with ` backtick
Code Blocks
Plain code block
No syntax highlighting# Python code block
def hello_world():
print("Hello, World!")
return True
if __name__ == "__main__":
hello_world()// JavaScript code block
function helloWorld() {
console.log("Hello, World!");
return true;
}
helloWorld();{
"name": "markdown-test",
"version": "1.0.0",
"description": "A comprehensive Markdown test file"
}Indented code block (4 spaces):
This is an indented code block
It preserves whitespace
And formatting
Tables
Simple Table
| Header 1 | Header 2 | Header 3 |
|---|---|---|
| Cell 1 | Cell 2 | Cell 3 |
| Cell 4 | Cell 5 | Cell 6 |
| Cell 7 | Cell 8 | Cell 9 |
Table with Alignment
| Left Aligned | Center Aligned | Right Aligned |
|---|---|---|
| Left | Center | Right |
| Text | Text | Text |
| 1 | 2 | 3 |
Table with Formatting
| Feature | Supported | Notes |
|---|---|---|
| Bold | ✓ | Works in tables |
| Italic | ✓ | Works in tables |
Code | ✓ | Works in tables |
| ✓ | Works in tables | |
| Links | ✓ | Works in tables |
Blockquotes
This is a blockquote. It can span multiple lines.
Blockquotes can be nested:
This is a nested blockquote. It's indented further.
Back to the first level.
Note: Blockquotes can contain other Markdown elements:
- Ordered lists
- Bold text
- Italic text
python# Even code blocks! print("Hello from blockquote")
Horizontal Rules
Three or more hyphens:
Three or more asterisks:
Three or more underscores:
Task Lists
- [x] Completed task
- [x] Another completed task
- [ ] Incomplete task
- [ ] Another incomplete task
- [x] Nested completed subtask
- [ ] Nested incomplete subtask
Footnotes
Here's a sentence with a footnote.[^1]
This is another footnote reference.[^2]
You can also use named footnotes.[^note]
[^1]: This is the first footnote. [^2]: This is the second footnote with formatting. [^note]: Named footnotes are easier to identify in the source.
Definition Lists
Term 1 : Definition 1a : Definition 1b
Term 2 : Definition 2a : Definition 2b
Emoji
Emoji support (depends on parser):
😄 ❤️ 👍 🚀 🎉
Unicode emoji: 😀 ❤️ 👍 🚀 🎉
HTML Elements
Markdown allows inline HTML:
This is a HTML div inside Markdown.
- HTML lists work too
- Mixed with Markdown
Click to expand collapsible section
This content is hidden by default and can be expanded.
- You can include Markdown here
- Bold text
Code
Ctrl + C for keyboard shortcuts
Escaping Characters
Use backslash to escape Markdown characters:
* Not italic *
# Not a header
[Not a link](http://example.com)
Combinations and Edge Cases
Mixed Formatting
This is combined formatting with inline code and a link.
Long Line Without Breaks
This is a very long line of text that demonstrates how Markdown handles long lines without manual line breaks. It should wrap automatically based on the viewer's width. This is useful for paragraphs of text where you don't want to manually insert line breaks.
Line Breaks
This line ends with two spaces
And continues on the next line.
This line ends with a backslash
And also continues on the next line.
This line has a manual line break.
Mathematical Expressions
Inline math (if supported): $E = mc^2$
Block math (if supported):
$$ \int_{a}^{b} f(x) , dx = F(b) - F(a) $$
Special Cases
Empty Lines and Spacing
Multiple blank lines:
Are collapsed into one.
Nested Formatting
Quote with a table:
Column 1 Column 2 Data 1 Data 2 And a code block:
pythondef in_quote(): return "Code in quote"
End of Document
This document covered all major Markdown syntax features. Different Markdown parsers may support different subsets or extensions of these features.
Last updated: February 6, 2026
Format: CommonMark + GitHub Flavored Markdown (GFM)