Hello, World!

June 7, 2026

A comprehensive demonstration of standard Markdown features.


Headings

H1 — Page Title

H2 — Major Section

H3 — Subsection

H4 — Sub-subsection

H5 — Minor heading
H6 — Smallest heading

Emphasis

Plain text, bold text, italic text, bold and italic, and strikethrough.

You can also use inline code to highlight short snippets.


Lists

Unordered

Ordered

  1. First step
  2. Second step
    1. Sub-step one
    2. Sub-step two
  3. Third step

OpenStreetMap — an inline link.

Anthropic — a reference-style link.

Alt text for an image


Code

Inline

Use println!("Hello, World!") to print in Rust.

Fenced Block (Rust)

fn main() {
    let greeting = "Hello, World!";
    println!("{}", greeting);
}

Fenced Block (Python)

def greet(name: str) -> str:
    return f"Hello, {name}!"

if __name__ == "__main__":
    print(greet("World"))

Fenced Block (Shell)

echo "Hello, World!"

Tables

LanguageParadigmTypingFirst Appeared
RustMulti-paradigmStatic2010
PythonMulti-paradigmDynamic1991
GoConcurrentStatic2009
SQLDeclarativeStatic1974

Column alignment can be controlled with colons in the separator row:

Left-alignedCenteredRight-aligned
AppleBananaCherry
123

Blockquotes

“The curious task of economics is to demonstrate to men how little they really know about what they imagine they can design.”

— F.A. Hayek, The Fatal Conceit

Nested blockquotes:

Outer quote.

Inner quote nested one level.

Inner quote nested two levels.


Horizontal Rules

Three or more hyphens, asterisks, or underscores on their own line:





Task Lists


Footnotes

Standard Markdown footnotes1 are supported in many renderers such as GitHub and Pandoc.2

1

This is the first footnote. It can contain formatted text and even code.

2

Pandoc is a universal document converter — handy for converting .md to PDF, DOCX, and more.


Escaping Special Characters

Use a backslash to escape Markdown syntax: *not italic*, `not code`, [not a link].


HTML (where supported)

Click to expand a hidden section

Raw HTML can be embedded in Markdown where the renderer allows it. Useful for collapsible sections, colored text, or custom layouts.


End of template. Happy writing!