Markdown Feature Test Document
Basic Formatting
Bold text
Italic text
Bold and italic
Strikethrough text
Inline code
Link
Headers
H1
H2
H3
H4
H5
H6
Lists
Unordered
- Item 1
- Item 2
- Nested item 2.1
- Nested item 2.2
- Item 3
Ordered
- First item
- Second item
- Third item
- Nested ordered 3.1
- Nested ordered 3.2
Task List
- Completed task
- Incomplete task
-
Custom checkbox
Code Blocks
Basic
This is a plain code block
Syntax Highlighting
function hello() {
console.log("Hello, World!")
}Diff Highlighting
- const removed = "This line is removed";
+ const added = "This line is added";Tables
| Feature | Support | Comments |
|---|---|---|
| Tables | Full | Pipe syntax |
| Alignment | :---------------: | Center-aligned |
| Formatting | Bold in cells | Italic in cells |
Blockquotes
Standard blockquote
Multiple paragraph blockquote
Nested blockquote
Horizontal Rules
Links & References
Reference-style link
Relative link
Anchor link
Footnotes
Here’s a sentence with a footnote.1
Definition Lists
Term 1 : Definition 1
Term 2 : Definition 2a : Definition 2b
HTML Integration
Math Formulas (KaTeX)
Inline math:
Block math:
Mermaid Diagrams
graph TD A[Start] --> B{Decision} B -->|Yes| C[OK] B -->|No| D[Not OK]
Emojis
Native emoji: 😊
Shortcode emoji: :rocket:
Custom emoji: ![]()
Special Features
Strikethrough
This is strikethrough text
Subscript/Superscript
H2O and x^2^
Highlighting
This text is highlighted
Automatic Links
https://example.com
fake@example.com
Mentions
@user-mention and hashtag
Custom Containers
::: warning This is a warning box :::
Escaping
*This is not italic*
# Not a header
Mixed Elements
- List item with link
- Task
-
Blockquote in list
- Task
-
print("Code in ordered list")
Special Characters
áéíóú
©®™
” & < >
Markdown Parser Test File
This document is intended to test various markdown features across GitHub-Flavored Markdown, Obsidian, and CommonMark extensions.
📌 Headings
H1
H2
H3
H4
H5
H6
✅ Task Lists
- Completed task
- Incomplete task
- Nested complete
- Nested incomplete
🔡 Emphasis
- Italic
- Italic
- Bold
- Bold
- Bold Italic
Strikethrough
🧮 Code Blocks
Inline Code
Here is some inline code.
Block Code
function greet(name) {
console.log(`Hello, ${name}!`);
}
greet("Markdown Tester");
Syntax Highlighting
const sum = (a, b) => a + b
console.log(sum(5, 3))🔢 Lists
Unordered
- One
- Sub One
- Sub Sub One
- Sub One
Ordered
- First
- Second
- Nested
- Also Nested
📋 Tables
| Name | Language | Score |
|---|---|---|
| Alice | Python | 90 |
| Bob | JavaScript | 85 |
| Charlie | Rust | 95 |
📎 Links
🖼️ Images
![]()
💡 Admonitions (Obsidian Plugin)
📏 Horizontal Rules
📌 Blockquotes
This is a quote.
Nested Quote.
⌨️ Keyboard Keys (GFM)
Ctrl + C
🎲 HTML inside Markdown
🧪 Math (Obsidian & MathJax Support)
Inline:
Block:
🧵 Footnotes
Here’s a statement with a footnote.1
🎭 Emoji
🚀 🎉 🔥 💡 ✅ ❌ 🧠 🖼️ ⌨️
⌛ Details / Collapsible Sections (HTML only)
Click to expand!
Here is the hidden content revealed.
console.log("Hello from inside the details block!");
🔗 Autolinks and Mentions (GFM)
@octocat
#42
https://github.com/org/repo/issues/42
🧱 Fenced Diagrams (Mermaid, Obsidian Plugin)
graph TD A[Start] --> B{Decision} B -->|Yes| C[Do Thing] B -->|No| D[Do Other Thing]
That’s the end of the test file. 🚀