Heading Level 1
This is a paragraph with bold text, italic text, and bold and italic.
Heading Level 2
Here's some inline code and a link to GitHub. You can also use reference-style links or automatic links.
Heading Level 3
Here's an image: 
And a reference-style image: 
Heading Level 4
Heading Level 5
Heading Level 6
Text Formatting
Bold text using double asterisks or double underscores.
Italic text using single asterisks or single underscores.
Bold and italic using triple asterisks or triple underscores.
Inline code using backticks.
Subscript text and Superscript text.
Lists
Unordered Lists
- First item
- Second item
- Nested item with two spaces
- Another nested item
- Deeply nested item with four spaces
- Third item
Alternative Unordered List Style
- First item
- Second item
- Nested item
- Third item
Another Unordered List Style
- First item
- Second item
- Third item
Ordered Lists
- First item
- Second item
- Third item
- Nested ordered item
- Another nested item
- Fourth item
Mixed Lists
- First ordered item
- Nested unordered item
- Another nested item
- Second ordered item
- Nested unordered item
- Another nested item
Links
Code Blocks
Inline Code
Use const x = 5; in your code.
Code Block with Language
function greet(name) {
return `Hello, ${name}!`;
}
const message = greet("World");
console.log(message);
def fibonacci(n):
if n <= 1:
return n
return fibonacci(n-1) + fibonacci(n-2)
print(fibonacci(10))
interface User {
id: number;
name: string;
email?: string;
}
const user: User = {
id: 1,
name: "John Doe",
};
Code Block without Language
This is a plain code block
without syntax highlighting
Blockquotes
This is a blockquote. It can span multiple lines.
This is a blockquote with formatting.
It can have multiple paragraphs.
Blockquote with heading
And a list:
- Item 1
- Item 2
Nested blockquote:
This is nested
Even more nested
Horizontal Rules
Escaped Characters
*This is not italic*
`This is not code`
# This is not a heading
[This is not a link]
Line Breaks
This is a paragraph with a line break.
This line uses two spaces at the end of the previous line.
This is another paragraph.
This paragraph has a blank line above it.
HTML in Markdown
This is hidden content inside a details element.
- Item 1
- Item 2
Ctrl + C to copy
Highlighted text
HTML
Footnotes
Here's a sentence with a footnote[^1] and another[^2].
[^1]: This is the first footnote. [^2]: This is the second footnote with formatting.
Emoji (if supported)
:smile: :heart: :rocket: :tada: :fire: :star:
Special Characters
© ® ™ § ¶ † ‡ • … — – " " ' '
Mixed Content Example
Complex Section
Here's a paragraph with bold, italic, and code. Check out this link.
- First item with bold text
- Second item with italic text
- Third item with
inline code
This is a blockquote with a link and bold text.
// Code block example
const example = {
name: "Markdown",
version: "2.0",
};
Final Notes
This document demonstrates all major Markdown features. Some features may require specific Markdown processors or extensions to render correctly.
