Markdown Test Suite

A complete Markdown testing document for Markdown β†’ HTML converters.


Table of Contents


Headings

H1

H2

H3

H4

H5
H6

Text Formatting

Normal text.

Bold

Italic

Bold + Italic

Strikethrough

Underline (HTML)

Highlighted

Inline Code

Quote

Nested Quote


Horizontal Rule





Lists

Unordered

  • Apple
  • Banana
  • Orange
    • Small
    • Medium
    • Large

Ordered

  1. First
  2. Second
  3. Third

Mixed

  1. Item
    • Child
      • Child Child

Task Lists

  • Completed
  • Another
  • Pending
  • Testing

Inline:

Google

Auto Link:

https://github.com

Email:

example@example.com


Images

Normal Image

Mountains
Mountains

Image with title

Ocean
Ocean

HTML Image

Laptop
Laptop

Video

HTML Video


Embedded YouTube


Audio


PDF


Tables

Name Age Country
John 20 USA
Sarah 25 Canada
Ali 30 Egypt

Complex Table

Left Center Right
A B C
D E F
G H I

Code

Inline

Use npm install


C++

cpp
#include <iostream>

int main() {
    std::cout << "Hello";
}

Python

python
def hello():
    print("Hello World")

JavaScript

javascript
const app = () => {
  console.log("Hello");
};

Bash

bash
npm install
npm run dev
git status

JSON

json
{
  "name": "Markdown",
  "version": 1
}

YAML

yaml
name: Test
version: 1
author: John

HTML

html
<div class="card">Hello</div>

CSS

css
body {
  background: #111;
}

HTML

HTML Card

This is embedded HTML.


Details

Click to Expand

Hidden Content

  • Item 1
  • Item 2

Emoji

πŸ˜€ 😎 πŸš€ ❀️ πŸŽ‰

:smile:


Keyboard

Press Ctrl + C


Footnote

Markdown Footnote.[^1]

[^1]: This is a footnote.


Definition List

Markdown
: A lightweight markup language.

HTML
: HyperText Markup Language.


Escaping

*Not Bold*

# Not Heading

`Code`


Subscript / Superscript

H2O

x2


Abbreviation

The HTML specification.

*[HTML]: Hyper Text Markup Language


Math

Inline:

$E = mc^2$

Block:

$$
\int_a^b x^2 dx
$$


Mermaid

graph TD A --> B A --> C B --> D C --> D

Sequence Diagram

sequenceDiagram Alice->>Bob: Hello Bob-->>Alice: Hi

Flowchart

flowchart LR A(Start) --> B{Decision} B -->|Yes| C[Continue] B -->|No| D[Stop]

Blockquote

Level 1

Level 2

Level 3


Nested List

  • A
    • B
      • C
        • D

Mixed Content

Project Card

GymFlow

Tech Stack

  • Python
  • SQLite
  • CustomTkinter

Repository:

https://github.com

Image:

Logo
Logo
python
print("GymFlow")
Feature Status
Members βœ…
Plans βœ…
Payments 🚧

Anchor Test

Jump to:

Go to Math

Go to Images

Go to Mermaid


GitHub Alerts

NOTE

This is a note.

TIP

Helpful information.

IMPORTANT

Important information.

WARNING

Warning message.

CAUTION

Dangerous action.


HTML Form








SVG


Collapsible HTML

Always Open

Content Here


Unicode

こんにけは

Ω…Ψ±Ψ­Ψ¨Ψ§

ΠŸΡ€ΠΈΠ²Π΅Ρ‚

δ½ ε₯½

πŸ˜€β€οΈπŸš€


End

Everything above is intentionally included to stress-test a Markdown renderer.