[fast learning] markdown fast learning


What is markdown

Markdown is a lightweight markup language that allows people to write documents in plain text format that is easy to read and write.

Markdown thinks that compared with word, its biggest advantage is that it can complete typesetting while writing words, so that it can completely devote its writing energy to the content.

Moreover, markdown can export files of various formats, which is much easier to use than the wonderful version of word.

Here are some linksBaidu Encyclopedia Rookie course


Here are the common fonts of MD.

Italicsusage*Words *_ Words_Note that there is no space between the symbol and the text.

boldusage**Words * *__ Words__

Bold italicsusage***Words * *___ Words___

Delete lineusage~~Words~~

<u> Underline < / u > usage<u> Text < / u >

format paragraph

Here is the segmentation and format of MD


1 ~ 6 # can be used to represent 1 ~ 6 level titles

First level title#Words

Secondary title

Third level title

Level 4 title

Five level title
Level 6 title

Dividing line

You can use more than three in a row* - _To create a separation line.

usage*** --- ___

Line feed

In MD, carriage return is just a space. If you want to wrap a line, you need to have more than two spaces at the end of the paragraph before carriage return.


Unordered list

Use of unordered list* + -As a tag, a space is added after the tag.

  • List 1
  • List 2
  • List 3

Ordered list

Use numbers plus.You can achieve an ordered list, but you still need to add spaces.

  1. Ordered list 1
  2. Ordered list 2
  3. Ordered list 3

If the editor automatically supplements the line feed, you can press enter twice to indicate the end of the list.

List nesting

Just add four spaces before the options in the sublist.

  1. First item

    • 1-1
    • 1-2

      • 1-2-1
  2. Second

    • 2-1


  1. First item
  • 1-1
  • 1-2

    • 1-2-1
  1. Second
  • 2-1


block quotations

use>You can implement block reference and nesting.

first floor

The second floor

The third layer


>First floor
>>Second floor
>>>The third layer

Code block

Wrap in reverse quotation marksprintf()

Usage ` printf ()`

Long code block

Use three back quotes and you can also specify the language.

public static void main(String[] args) {
    System.out.println("Hello World")
public static void main(String[] args) {
    System.out.println("Hello World")


network connections

format[text message] (network connection)The form of

use Baidu Search

use Baidu Search

use Baidu Search

[Baidu]( https://www.baidu.com )

[Baidu]( https://www.baidu.com  "Baidu, you will know") // when the cursor is placed on the link text, the prompt message will be displayed.

[Baidu about] [Baidu]
[baidu]: https://www.baidu.com // Link in the form of variable assignment

pictures linking

format![ Text message] (picture address)

The usage is the same as that of network connection. You can use network address or local address.

If you need to set the image size, you can also use the<img>label.


Column 1 Column 2 Column 3
1 2 3
|Column 1 | column 2 | column 3|
| :--- | :--: | ---: |
| 1    |  2   |    3 |

    Columns are separated by |. 
    The first line represents the header, which will be bold.
    The second line represents the alignment, the colon on the left represents the left alignment, the right represents the right alignment, and both sides are centered.
    Then there is the table content.