Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
Paragraph
This is a simple paragraph with bold text, italic text, bold and italic text, strikethrough, and inline code.
Blockquote
This is a blockquote.
Nested blockquote.
Lists
Unordered List
- Item 1
- Item 2
- Subitem 2.1
- Subitem 2.2
- Item 3
Ordered List
- First
- Second
- Sub-second 1
- Sub-second 2
- Third
Task List
- Task 1 (completed)
- Task 2 (incomplete)
- Task 3
Code Blocks
// JavaScript code block
function greet(name) {
return `Hello, ${name}!`;
}
# Python code block
def greet(name):
return f"Hello, {name}!"
Tables
| Header 1 | Header 2 | Header 3 |
|---|---|---|
| Cell 1 | Cell 2 | Cell 3 |
| Cell A | Cell B | Cell C |
Horizontal Rule
Links
Images
Emphasis Examples
- Normal text
- Italic text
- Bold text
- Bold and italic
Strikethrough
Definition List (non-standard, GitHub doesn’t support)
Term 1 : Definition 1
Term 2 : Definition 2 with more text.
HTML Elements in Markdown
This is raw HTML inside Markdown.
Footnotes
Here is a sentence with a footnote.1
Emoji
Here are some emojis: 😀 🎉 🚀 👍 ❤️
Math (not yet supported) TODO
Inline math: $E = mc^2$ Block math:
$$ \int_0^\infty e^{-x^2} dx = \frac{\sqrt{\pi}}{2} $$
Footnotes
-
This is the footnote. ↩