Markdown Examples

13 Nov 2026

library

note

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

Heading with Custom ID {#custom-id}


Text Formatting & Emphasis

Italic text or Italic text Bold text or Bold text Bold and italic or Bold and italic Strikethrough text ==Highlighted text== (Extended / Obsidian) H2O (Subscript - Extended) X^2^ (Superscript - Extended) Inline code Inline code containing a `backtick`

Line breaks: End a line with two spaces
or a backslash
to create a soft line break.

Leave a blank line between lines to create a new paragraph.


Blockquotes & Callouts

This is a standard blockquote.

Standard blockquote.

Nested blockquote.

  • Lists inside a blockquote
  • Bold text inside a blockquote

This is a GitHub/Obsidian style callout.

[!NOTE] GitHub / Obsidian alert callout (also supports TIP, IMPORTANT, WARNING, CAUTION).


Lists

Unordered Lists

Ordered Lists

  1. First item
  2. Second item
    1. Nested ordered item
    2. Another nested item
  3. Auto-numbered item (using 1. repeatedly renders sequentially)

Task Lists (GFM)

Definition Lists (Extended)

Term 1 : Definition 1

Term 2 : First definition of Term 2 : Second definition of Term 2


Code Blocks

Fenced Code Block with Syntax Highlighting

function greet(name) {
    return `Hello, ${name}!`;
}

Fenced Diff Block

- Removed line
+ Added line

Links & Images

Links

Inline link Inline link with title Link to heading ID Reference-style link Implicit reference link https://example.com user@example.com

Images

Alt text Alt text with title Reference-style image

Linked Image (Often used for Video Thumbnails)

Watch Video


Tables (GFM)

Left-Aligned Center-Aligned Right-Aligned
Cell 1 Cell 2 Cell 3
Bold Code Example Link
Escaped pipe | Multi-word cell $100.00

Footnotes (GFM / Extended)

Here is a sentence with a footnote[^1] and a named footnote[^note].

[^1]: Standard numbered footnote definition.

[^note]: Named footnote definition that can span multiple paragraphs.

Indent subsequent paragraphs by 4 spaces.

Math & Diagrams (Extended / KaTeX / Mermaid)

Inline math: E = mc²

Block math: [\sum_{i=1}^{n} i = \frac{n(n+1)}{2}]

graph TD;
    A-->B;
    A-->C;

Horizontal Rules





Escaping Characters

*Literal asterisks* # Not a heading [Not a link] `Not code` \ Literal backslash


Emoji Shortcodes (GFM / Extended)

:rocket: :sparkles: :thumbsup:


Inline HTML Fallbacks

Ctrl + C Highlighted via HTML H2O and X2 Underlined text

Collapsible Toggle Section

Hidden content inside a toggle block. Make sure to leave a blank line after </summary>.