Welcome to the Markdown Guide for Chinese users! Markdown is a lightweight markup language with plain-text formatting syntax. It is used to format text, images, and links on websites and applications. Here’s a quick guide to get you started.

Basic Formatting

  • Headers: Use # to create headers. The number of # determines the level of the header.
    • # This is an H1
    • ## This is an H2
    • ### This is an H3
  • Emphasis: Use * or _ for italics or bold.
    • *italic* or _italic_
    • **bold** or __bold__
  • Lists: Use - or * for unordered lists and 1. for ordered lists.
    • `- Item 1
      • Item 2
      • Item 3`
    • `1. Item 1
      1. Item 2
      2. Item 3`
  • Links: Use [text](url) to create a hyperlink.
  • Images: Use ![alt text](image url) to insert an image.
    • Markdown Logo

Advanced Features

  • Tables: Use pipe | to create tables.
    • | Header 1 | Header 2 | Header 3 |
    • | --- | --- | --- |
    • | Item 1 | Item 2 | Item 3 |
  • Code Blocks: Use triple backticks for inline code or triple backticks wrapped in fences for code blocks.
    • inline code
    def hello_world():
        print("Hello, world!")
    
  • Footnotes: Use [^1] for the note and [^1]: for the definition.
    • Here is a footnote reference[^1].
    • [^1]: This is the footnote definition.

Where to Learn More

If you want to learn more about Markdown, check out our comprehensive Markdown Guide.


Markdown Syntax