Back to Articles

Markdown Syntax Test Article
#markdown#test#demo
Level 1 Heading
Level 2 Heading
Level 3 Heading
Level 4 Heading
Level 5 Heading
Level 6 Heading
1. Text Styles
Bold Text
Italic Text
Bold Italic Text
Strikethrough Text
Inline Code
This is a blockquote.
It can span multiple lines.It can also contain empty lines.
2. Lists
Unordered List
- Item A
- Item B
- Sub-item B.1
- Sub-item B.2
- Sub-item B.2.a
Ordered List
- First Step
- Second Step
- Third Step
- Sub-step 3.1
- Sub-step 3.2
Task List
- Completed task
- Uncompleted task
- To-do item
3. Code Highlighting
TypeScript Example
interface User {
id: number;
name: string;
}
function greet(user: User): string {
return `Hello, ${user.name}!`;
}
const admin: User = { id: 1, name: "Admin" };
console.log(greet(admin));
Python Example
def fibonacci(n):
if n <= 1:
return n
else:
return fibonacci(n-1) + fibonacci(n-2)
print([fibonacci(i) for i in range(10)])
Bash Example
# Update system
sudo apt update && sudo apt upgrade -y
# Install Node.js
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
sudo apt-get install -y nodejs
4. Tables
| Feature | Status | Remarks |
|---|---|---|
| Markdown Rendering | ✅ | Basic function |
| Code Highlighting | ✅ | Supports multiple languages |
| Line Number Display | ✅ | Auxiliary reading |
| Responsive Design | 🚧 | Under development |
5. Links and Images


6. Horizontal Rule
7. Mathematical Formulas (if supported)
This is an inline formula: (Note: Requires Katex support)
This is a block-level formula:
8. HTML Embedding
This is an embedded HTML div block.
9. Footnotes
This is an example of a footnote reference1.
10. Anchor Link Test
Jump to Top
Jump to Code Highlighting Section
Jump to non-existent anchor
Here is an anchor target with a custom ID.
Jump to Custom Anchor
Footnotes
-
This is a footnote. ↩
This article is generated by AI and published after human review/modification