Markdown Feature Test Document

Basic Formatting

Bold text
Italic text
Bold and italic
Strikethrough text
Inline code
Link
Image Alt Text

Headers

H1

H2

H3

H4

H5
H6

Lists

Unordered

  • Item 1
  • Item 2
    • Nested item 2.1
    • Nested item 2.2
  • Item 3

Ordered

  1. First item
  2. Second item
  3. Third item
    1. Nested ordered 3.1
    2. Nested ordered 3.2

Task List

  • Completed task
  • Incomplete task
  • Checkbox with emoji 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

FeatureSupportComments
TablesFullPipe syntax
Alignment:---------------:Center-aligned
FormattingBold in cellsItalic in cells

Blockquotes

Standard blockquote

Multiple paragraph blockquote

Nested blockquote

Horizontal Rules




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

This is HTML content

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: rocket

Special Features

Strikethrough

This is strikethrough text

Subscript/Superscript

H2O and x^2^

Highlighting

This text is highlighted

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

  1. List item with link
    • Task with image
    • Blockquote in list

  2.  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

Ordered

  1. First
  2. Second
    1. Nested
    2. Also Nested

📋 Tables

NameLanguageScore
AlicePython90
BobJavaScript85
CharlieRust95


🖼️ Images

Markdown Logo


💡 Admonitions (Obsidian Plugin)


📏 Horizontal Rules





📌 Blockquotes

This is a quote.

Nested Quote.


⌨️ Keyboard Keys (GFM)

Ctrl + C


🎲 HTML inside Markdown

This text is rendered in red and bold using inline HTML.

🧪 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!");

@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. 🚀

Footnotes

  1. This is the footnote content. 2