Markdown Sample

all markdown syntaxes are included here

2020-01-02

Got it! Below is a code block that includes all Markdown syntax. You can directly copy it into an editor to view:

Markdown Lesson

1. Headings

Second-Level Heading

Third-Level Heading

Fourth-Level Heading

Fifth-Level Heading
Sixth-Level Heading

3. Emphasis

ItalicItalic

BoldBold

Bold ItalicBold Italic

4. Lists

Unordered List

  • Item 1
  • Item 2
    • Subitem 1
    • Subitem 2

Ordered List

  1. First item
  2. Second item
  3. Subitem 1
  4. Subitem 2

GitHub

6. Images

Alt Text

7. Code

Inline Code

This is an example of inline code.

Code Block

sample.ts
const msg="Hello, World!"
console.log(msg)
// Using 'typeof' to infer types
const person = { name: "Alice", age: 30 };
type PersonType = typeof person;  // { name: string; age: number }

8. Blockquotes

This is a blockquote.

This is the second line of the blockquote.

9. Horizontal Rules


10. Tables

Column 1Column 2
Content 1Content 2
Content 3Content 4
abcd

11. Task List

  • Completed Task
  • Incomplete Task
  • to do
  • done

12. Formulas

$$ E = mc^2 $$

Copy the above content into a Markdown editor, and you'll be able to view and test various Markdown syntaxes.

© api2o.com:: a website of blog, tools, APIs. 一个包含: 博客、在线工具、API 的网站. All rights reserved.