Title - Markdown test
- Markdown Feature Test Document
- Headings
- H1
- Text Formatting
- Lists
- Links
- Images
- Blockquotes
- Code
- Tables
- Task Lists
- Horizontal Rules
- Footnotes
- Definition Lists
- Emoji
- Escaping Characters
- Math
- HTML
- Details
- Mixed Content
- End
Markdown Feature Test Document
A comprehensive Markdown test file covering headings, emphasis, lists, tables, code, HTML, footnotes, math, task lists, and more.
Table of Contents
- Headings
- Text Formatting
- Lists
- Links
- Images
- Blockquotes
- Code
- Tables
- Task Lists
- Horizontal Rules
- Footnotes
- Definition Lists
- Emoji
- Escaping Characters
- Math
- HTML
- Details
- Mixed Content
Headings
H1
H2
H3
H4
H5
H6
Text Formatting
Normal text.
Italic
Italic
Bold
Bold
Bold + Italic**
Strikethrough
Underline (HTML)
Inline code
Keyboard shortcut: Ctrl + C
Superscript: X2
Subscript: H2O
Highlighted: Important
Small text: Small print
Lists
Unordered
- Apple
- Banana
- Yellow
- Green
- Nested
- Orange
- Another style
- Item 2
- Plus style
- Item
Ordered
- First
- Second
- Third
- Nested
- Nested
- Fourth
Mixed
- Fruits
- Apple
- Orange
- Vegetables
- Carrot
- Potato
Links
Inline:
Reference:
Automatic:
Email:
Images
Clickable image:
Blockquotes
Single quote.
Multi-line quote
continues here.Another paragraph.
Nested:
Level 1
Level 2
Level 3
Code
Inline:
const x = 5;
Plain
Hello World
JavaScript
function greet(name) {
console.log(`Hello ${name}`);
}
greet("Markdown");
Python
def fib(n):
a, b = 0, 1
while a < n:
print(a)
a, b = b, a + b
fib(100)
JSON
{
"name": "Markdown",
"version": 1,
"features": [
"tables",
"lists",
"code"
]
}
Bash
ls -la
git status
npm install
HTML
<div class="container">
<h1>Hello</h1>
</div>
CSS
body {
font-family: sans-serif;
color: #333;
}
Tables
| Name | Age | City |
|---|---|---|
| Alice | 30 | London |
| Bob | 25 | Paris |
| Charlie | 35 | Tokyo |
Alignment:
| Left | Center | Right |
|---|---|---|
| A | B | C |
| 1 | 2 | 3 |
Task Lists
- [ ] Task 1
- [x] Task 2
- [ ] Task 3
- [x] Nested complete
- [ ] Nested incomplete
Horizontal Rules
Footnotes
Here is a sentence with a footnote.1
Another footnote.2
Definition Lists
Term 1
: Definition 1
Term 2
: Definition A
: Definition B
Emoji
Unicode:
😀 😎 🚀 ❤️ 🎉 🔥
Shortcodes (GitHub):
:smile:
:rocket:
:heart:
:tada:
Escaping Characters
*Not italic*
# Not heading
`Not code`
\[ Literal bracket \]
Math
Inline:
\(E = mc^2\)
Block:
$$ \int_0^1 x^2 dx = \frac{1}{3} $$
Matrix:
$$ \begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix} $$
Greek:
$$ \alpha + \beta = \gamma $$
HTML
| Name | Score |
|---|---|
| Alice | 95 |
Details
Click to expand
This content is hidden until expanded.
- Hidden list
- Hidden paragraph
print("Hidden code")
Mixed Content
Quoted Heading
- Item 1
- Item 2
console.log("Inside quote");
Nested Lists with Code
- Item
-
Sub-item
print("Indented code") -
Another sub-item
-
Large Table
| # | Name | Status | Value |
|---|---|---|---|
| 1 | Alpha | ✅ | 100 |
| 2 | Beta | ❌ | 200 |
| 3 | Gamma | ⚠️ | 300 |
| 4 | Delta | ✅ | 400 |
| 5 | Epsilon | ❌ | 500 |
| 6 | Zeta | ✅ | 600 |
| 7 | Eta | ⚠️ | 700 |
| 8 | Theta | ✅ | 800 |
Long Paragraph
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.
Checklist
- [x] Headings
- [x] Formatting
- [x] Lists
- [x] Links
- [x] Images
- [x] Quotes
- [x] Code
- [x] Tables
- [x] Tasks
- [x] HTML
- [x] Footnotes
- [x] Math
- [x] Details
- [x] Emoji
End
Congratulations! If your renderer supports CommonMark, GitHub Flavored Markdown, and extensions, most of the features above should render correctly.
Write a comment