MD Code Examples
Heading Level 1
Heading Level 2
Heading Level 3
Heading Level 4
Heading Level 5
Heading Level 6
1. Text Formatting
- Bold Text (or strong)
- Italic Text (or emphasized)
- Bold and Italic
StrikethroughInline Code- Combined: Bold with
codeinside.
2. Lists
Unordered List
- Item 1
- Item 2
- Nested Item 2a
- Nested Item 2b
- Item 3
Ordered List
- First Item
- Second Item
- Third Item
- Nested Ordered Item
- Nested Ordered Item
Definition List (Markdown Extra)
- Pico CMS
- A stupidly simple, blazing fast, flat file CMS.
- Markdown
- A text-to-HTML conversion tool for web writers.
3. Links & Images
- Standard Link: Visit Google
- Reference Link: [Visit Pico Website][pico]
- Your Tracked Link: Search on DuckDuckGo (Counted)
4. Blockquotes
This is a blockquote. It can span multiple lines.
It can also be nested.
5. Code Blocks
Generic Code Block:
Markdown Test Suite
1️⃣ Headings
# H1 – Primary Title
## H2 – Secondary Title
### H3 – Tertiary Title
#### H4 – Quaternary Title
##### H5 – Quinary Title
###### H6 – Senary Title
H1 – Primary Title
H2 – Secondary Title
H3 – Tertiary Title
H4 – Quaternary Title
H5 – Quinary Title
H6 – Senary Title
2️⃣ Emphasis & Inline Elements
| Syntax | Rendered |
|---|---|
*italic* |
italic |
_italic_ |
italic |
**bold** |
bold |
__bold__ |
bold |
***bold‑italic*** |
bold‑italic |
~~strikethrough~~ |
|
`inline code` | inline code |
|
<mark>highlight</mark> |
highlight |
:smile: |
😄 |
^[footnote] |
footnote^1 |
3️⃣ Block Elements
3.1 Blockquote
This is a level‑1 blockquote.
Nested blockquote level‑2.
Nested blockquote level‑3.
3.2 Horizontal Rule
3.3 Code Blocks
# Python example
def greet(name: str) -> str:
"""Return a greeting."""
return f"Hello, {name}!"
{
"name": "Markdown Test",
"version": 1.0,
"features": ["headings", "lists", "tables"]
}
3.4 HTML Embedding
Raw HTML can be mixed with Markdown.
4️⃣ Lists
4.1 Unordered List
- Item A
- Sub‑item A1
- Sub‑sub‑item A1a
- Sub‑item A1
- Item B
- Item C
4.2 Ordered List
- First
- Second
- Sub‑second
- Another sub‑second
- Third
4.3 Task List
- [x] Completed task
- [ ] Pending task
- [ ] Another pending task
5️⃣ Tables
| Left‑Aligned | Center‑Aligned | Right‑Aligned |
|---|---|---|
:--- |
:---: |
---: |
| Apple | Banana | Cherry |
| Dog | Elephant | Frog |
5️⃣ Table with Links & Images
| Icon | Description |
|---|---|
| Cute kitten – source | |
| Friendly dog – source |
6️⃣ Links
- Inline:
[OpenAI](https://openai.com) - Reference style:
[OpenAI][1]
[1]: https://openai.com "OpenAI Homepage"