001-CSDN-Typora MarkDown syntax description

Typora edit md file syntax format

Typora download

1. Introduction to markdown

Markdown is a lightweight language, concept: markdown is committed to creating or reading documents easier

hyper text markup language(html) hypertext language file

2. Title

1. The title of markdown

Syntax: # (first-level heading)##(second-level heading)###(third-level heading)...

Code:

#这是一级标题
##这是二级标题

effect:

This is the first level heading

This is the second level heading

hot key:

  • Ctrl+number (1-5) -> you can quickly adjust the selected text to the title of the corresponding level
  • ctrl+ plus/minus sign -> add or subtract heading level

Three, paragraph

1. Paragraph

Grammar: Directly edit the text. If you need to create a new paragraph, you can directly wrap the line or hit a space at the end of the paragraph and enter

Code:

这是一个段落

这是另一个段落

effect:

This is a paragraph

This is another paragraph

2. Font

grammar:

1. Bold -> Wrapped with a pair of double asterisks

2. Italic -> Wrap with a pair of single asterisks

2. Strikethrough -> Wrap with a pair of double floating numbers

3. Underline -> Wrap with a pair of u tags

Code:

**粗体**
*斜体*
~~删除线~~
<u>下滑线</u>

effect:

Bold

Italic

Strikethrough

Downline

hot key:

Bold Ctrl+B

Italic ctrl + I

Strikethrough Alt+shift+5

Downline ctrl+u

3. Dividing line

Grammar: Slightly

Dividing line: three minus signs and carriage return

Code:

--- 然后回车

effect:


4, footnote

Description: The footnote is to supplement the text

Code:

[^键入文本]
[^Spring boot]
[^Spring boot]: 这是一个框架

effect:

Technology ^Spring boot

Fourth, the list

1. Unordered list

Code:

* + 空格 

effect:

1. Only the same level

  • apple
  • banana
  • orange

2. Sub-level

  • First class classification
    • Secondary classification
    • The secondary classification operates the same as the primary classification
    • 2

2. Ordered list

Description: Auto-indent

Code:

空格

effect:

  1. First title
  2. Second headline
  3. Write sub-content
    • This is sub-content
    • Don't want to continue typing
    • Enter twice to the subheading
  4. Back here

Five, block display

Code:

> + 回车

effect:

This is the outermost block

This is the inner layer

  • spring boot technology

  • spring cloud technology

Six, code block display

Code:

​```一般都和~键在一起 

effect:

function test(){
     
     
    alert("Hello")
}
def say_hello():    
    print("Hello")
 
say_hello()

Seven, link

Code:

1. www.baidu.com
2. [百度](https://www.baidu.com)

effect:

For example: www.baidu.com

Baidu

Eight, picture insertion

Code:


![]()

effect:

Insert picture description here

)

Nine, form

Code:

1. Ctrl+T 
2. |表头|表头|表头|
   |----|----|----|
   |1|2|3|

effect:

Header Header Header
1 2 3

10. Other operations

Code:

`内容` 

effect:

For example: Ctrl+ shift+ ESC-> View task manager

1. Personal self-study notes, I hope I can help you!

2. For the font, size, color, and background of the text, please refer to here

Guess you like

Origin blog.csdn.net/mmmmmCJP/article/details/109245754