Source233 words · 1,467 chars
Preview~1 min read

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

Emphasis

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

Blockquote

A single-line blockquote.

A blockquote that spans multiple lines, and can even

nest another blockquote inside it.

Lists

Unordered:

  • First item
  • Second item
    • Nested item
    • Another nested item
  • Third item

Ordered:

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

Task list:

  • Write the example markdown
  • Wire up the preview pane
  • Ship it

Code

Inline code: const x = 1

Fenced code block with a language hint:

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

Fenced code block with no language:

plain text block
no syntax highlighting

Links and Images

An inline link

Autolink: https://example.com

Alt text for an image

Table

FeatureSupportedNotes
Headingsh1 through h6
Emphasisbold, italic, strike
Code blocksinline and fenced
Tablesvia GFM
Task listsvia GFM

Horizontal Rule