Markdown Format Test
1 min read
Markdown Format Test
This article demonstrates how various Markdown format elements render on this blog.
1. Basic Text Formatting
Bold text and italic text
Bold and italic text
Strikethrough text
Underlined text
2. Lists
Unordered Lists
- Item 1
- Item 2
- Sub-item 2.1
- Sub-item 2.2
- Item 3
Ordered Lists
- First step
- Second step
- Sub-step 2.1
- Sub-step 2.2
- Third step
Task Lists
- Completed task
- Incomplete task
- Another incomplete task
3. Links and Images
4. Blockquotes
This is a quoted text.
This is the second paragraph of the quote.
5. Code
Inline code print("Hello, World!")
Code blocks:
def greet(name):
"""
A simple greeting function
"""
print(f"Hello, {name}!")
# Call the function
greet("World")
// JavaScript code example
function calculateSum(a, b) {
return a + b;
}
console.log(calculateSum(5, 10)); // Output: 15
6. Tables
Name | Age | Profession |
---|---|---|
John | 25 | Engineer |
Lisa | 30 | Designer |
Mike | 28 | Product Manager |
7. Horizontal Rules
8. Math Equations
Inline equation: $E = mc^2$
Block equation:
$$ \frac{d}{dx}(x^n) = nx^{n-1} $$
9. Footnotes
This is a text with a footnote1.
10. Definition Lists
- Term 1
- Definition 1
- Term 2
- Definition 2a
- Definition 2b
This is the footnote content. ↩︎
Last updated on 2025-03-23
加载评论中...