Main Header (H1)
Secondary Header (H2)
Tertiary Header (H3)
Quaternary Header (H4)
Quinary Header (H5)
Senary Header (H6)
Basic Text Formatting
This is bold text and this is italic text. You can also use double underscores for bold and single underscores for italic.
Here’s some strikethrough text and some inline code
.
Code Blocks
JavaScript Code
function fibonacci(n) {
if (n <= 1) return n;
return fibonacci(n - 1) + fibonacci(n - 2);
}
console.log(fibonacci(10)); // Output: 55
Python Code
def greet(name):
return f"Hello, {name}!"
print(greet("World"))
CSS Code
.container {
max-width: 1200px;
margin: 0 auto;
padding: 20px;
}
Lists
Unordered Lists
- First item
- Second item
- Nested item A
- Nested item B
- Deeply nested item
- Third item
- Fourth item
Ordered Lists
- First ordered item
- Second ordered item
- Nested ordered item A
- Nested ordered item B
- Third ordered item
Mixed Lists
- Start with ordered
- Mix in unordered
- Another unordered item
- Back to ordered
- More unordered nesting
- Even ordered within unordered
- Another ordered item
- More unordered nesting
- Final ordered item
Links and References
Basic Links
Visit GitHub Check out Stack Overflow
Links with Titles
Reference Links
First reference and second reference.
Images
Basic Images
Images with Titles
GIF
Blockquotes
This is a simple blockquote. It can span multiple lines.
Bold text and italic text work inside blockquotes too.
You can even have paragraphs within blockquotes.
Nested blockquotes are also supported! This is a second level of nesting.
Tables
Basic Table
Name | Age | Occupation |
---|---|---|
John | 25 | Developer |
Jane | 30 | Designer |
Bob | 35 | Manager |
Complex Table
Feature | Support | Notes |
---|---|---|
Bold | ✅ | Works perfectly |
Italic | ✅ | Also supported |
Code |
✅ | Inline code works |
✅ | Crossed out text | |
Links | ✅ | Clickable links |
Advanced Formatting
Subscript and Superscript
- Chemical formula: H2O (water)
- Mathematical: E = mc2 (Einstein’s equation)
- Scientific notation: 1.23 × 106
- Subscript example: CO2 (carbon dioxide)
Footnotes
Here’s a sentence with a footnote[1]. You can have multiple footnotes[2] in the same document.
Spoilers
Click to reveal the secret
This is hidden content that users can reveal by clicking! It can contain any markdown formatting including:
- Lists
- Bold text
Code snippets
- And more!
Another spoiler with a different title
More hidden content here. Spoilers are great for:
- Hiding spoilers for movies/books
- Collapsing long explanations
- Making content more interactive
HTML5 Embedding
Video Embed
https://www.youtube.com/watch?v=dQw4w9WgXcQ
Audio Embed
https://www.soundcloud.com/track/example
Lemmy-Specific Features
Community Links
!linuxfurs - This should link to a community [email protected] - Another community link
User Mentions
@southernwolf - This should mention a user @[email protected] - Another user mention
Mixed Content
Here’s a post that mentions @user and links to !community while discussing external resources.
Mathematical Content
Inline Math
The quadratic formula is x = (-b ± √(b² - 4ac)) / 2a.
Block Math
Area of a circle: A = πr²
Circumference: C = 2πr
Task Lists
- [x] Completed task
- [ ] Pending task
- [x] Another completed task
- [ ] Another pending task
Horizontal Rules
Mixed Complex Example
Here’s a complex example combining multiple features:
Important Note: This post demonstrates the full range of Markdown capabilities.
Key Features:
- Bold headers and italic emphasis
Code snippets
andstrikethrough- External links
Code Example:
function processMarkdown(text) { return markdownIt.render(text); }
Spoiler Section:
Advanced Features
- Subscript: H2O
- Superscript: E = mc2
- Footnotes[3]
This concludes our comprehensive Markdown feature test!
Instructions unclear, commenting.
Someone didn’t read the man pages I see. :3
I don’t listen to rules. Not even my own.
Test of a comment that ignores your post.
Main Header (H1)
Secondary Header (H2)
Tertiary Header (H3)
Quaternary Header (H4)
Quinary Header (H5)
Senary Header (H6)
Basic Text Formatting
This is bold text and this is italic text. You can also use double underscores for bold and single underscores for italic.
Here’s some
strikethrough textand someinline code
.Code Blocks
JavaScript Code
function fibonacci(n) { if (n <= 1) return n; return fibonacci(n - 1) + fibonacci(n - 2); } console.log(fibonacci(10)); // Output: 55
Python Code
def greet(name): return f"Hello, {name}!" print(greet("World"))
CSS Code
.container { max-width: 1200px; margin: 0 auto; padding: 20px; }
Lists
Unordered Lists
- First item
- Second item
- Nested item A
- Nested item B
- Deeply nested item
- Third item
- Fourth item
Ordered Lists
- First ordered item
- Second ordered item
- Nested ordered item A
- Nested ordered item B
- Third ordered item
Mixed Lists
- Start with ordered
- Mix in unordered
- Another unordered item
- Back to ordered
- More unordered nesting
- Even ordered within unordered
- Another ordered item
- More unordered nesting
- Final ordered item
Links and References
Basic Links
Visit GitHub Check out Stack Overflow
Links with Titles
Reference Links
First reference and second reference.
Images
Basic Images
Images with Titles
GIF
Blockquotes
This is a simple blockquote. It can span multiple lines.
Bold text and italic text work inside blockquotes too.
You can even have paragraphs within blockquotes.
Nested blockquotes are also supported! This is a second level of nesting.
Tables
Basic Table
Name Age Occupation John 25 Developer Jane 30 Designer Bob 35 Manager Complex Table
Feature Support Notes Bold ✅ Works perfectly Italic ✅ Also supported Code
✅ Inline code works Strikethrough✅ Crossed out text Links ✅ Clickable links Advanced Formatting
Subscript and Superscript
- Chemical formula: H2O (water)
- Mathematical: E = mc2 (Einstein’s equation)
- Scientific notation: 1.23 × 106
- Subscript example: CO2 (carbon dioxide)
Footnotes
Here’s a sentence with a footnote[1]. You can have multiple footnotes[2] in the same document.
Spoilers
Click to reveal the secret
This is hidden content that users can reveal by clicking! It can contain any markdown formatting including:
- Lists
- Bold text
Code snippets
- And more!
Another spoiler with a different title
More hidden content here. Spoilers are great for:
- Hiding spoilers for movies/books
- Collapsing long explanations
- Making content more interactive
HTML5 Embedding
Video Embed
https://www.youtube.com/watch?v=dQw4w9WgXcQ
Audio Embed
https://www.soundcloud.com/track/example
Lemmy-Specific Features
Community Links
!linuxfurs - This should link to a community [email protected] - Another community link
User Mentions
@southernwolf - This should mention a user @[email protected] - Another user mention
Mixed Content
Here’s a post that mentions @user and links to !community while discussing external resources.
Mathematical Content
Inline Math
The quadratic formula is x = (-b ± √(b² - 4ac)) / 2a.
Block Math
Area of a circle: A = πr² Circumference: C = 2πr
Task Lists
- [x] Completed task
- [ ] Pending task
- [x] Another completed task
- [ ] Another pending task
Horizontal Rules
Mixed Complex Example
Here’s a complex example combining multiple features:
Important Note: This post demonstrates the full range of Markdown capabilities.
Key Features:
- Bold headers and italic emphasis
Code snippets
andstrikethrough- External links
Code Example:
function processMarkdown(text) { return markdownIt.render(text); }
Spoiler Section:
Advanced Features
- Subscript: H2O
- Superscript: E = mc2
- Footnotes[3]
This concludes our comprehensive Markdown feature test!
deleted by creator
This is just another test comment, ignore me :3
deleted by creator
deleted by creator
One more test reply for good measure
Test comment reply
Edit: And this is a test edit of a comment
deleted by creator
There is actually a c/test community here on pawb.social. Never used it though :P
Oh whoops, I actually forgot about that! x3
deleted by creator
Test
Another test
Just another test comment, ignore me :3
deleted by creator
deleted by creator