markdown语法
markdown基础语法
Basic Syntax
Headings
1 | Markdown: # 1 ~ 6 headings level (recommend) |
Paragraph
1 | Markdown: using space line |
Line break
1 | Markdown: write a line and end with two or more spaces |
Font
1 | **bold part** // Bold |
Block quotes
1 | Markdown: |
Horizontal rule
1 | --- // (recommend) |
image
1 | // online or local image |
List
1 | // ordered list |
Link
1 | [label name](url) // ctrl + click |
Formatting Links
1 | [text] [num] |
Extended Syntax
Tables
1 | | Syntax | Description | |
Code block
1 | // Fenced Code Blocks |
Footnote
1 | Here's a simple footnote,[^1] and here's a longer one.[^bignote] |
Define list
1 | Markdown: |
Subscript&Superscript
1 | H~2~O // Subscript |
Task list
1 | - [x] checked |
Hacker
Indent (Tab)
1 | This is the first sentence of my indented paragraph. |
Text Center
1 | <center>This text is centered.</center> // (deprecated) |
Text Color
1 | <font color="red">This text is red!</font> // (deprecated) |
Comments
1 | Here's a paragraph that will be visible. |
Symbols
1 | Copyright (©) — © |
Table of Contents
1 | #### Table of Contents |