[Learning Experience] Quick Start with Markdown

Seven Quick Start MD Grammar


(1) Title

        The title text starts with a hash mark at the beginning of the line and is separated by a space. Write a few hash marks to determine the level of the title, ranging from 1 to 6 in total.

#Level 1 title

## Second level title

### Third level title

and so on


(2) Emphasize

  • Asterisks surround the text you want to emphasize
  • Text enclosed in a single asterisk is * italicized*
  • Text enclosed by double asterisks is ** bold**

(3) Quote

  • Use single back quotes to wrap 引用` the text you want `
  • Double backticks also work `` 引用`` the text you want
  • Triple backticks can add code blocks ```python

(4) Links

There are two types of links according to the insertion method, inline and reference.

There are two types of links according to type, image links and website links.

image link

        ① Inline

        ![Here is the description alternative text](https://image address)


        ② Reference formula

        First declare! [This is a picture][id]
        and then define [id]: https://picture address

website link

        ① Inline

        [Inside square brackets is the description text of the link] (Inside parentheses is the address of the link)

        ② Reference formula

        [website description text][id]

        [id]:Address "The title is used to describe the address information"


(5) Dividing line

Start writing with three asterisks or three minus signs at the beginning of the line. It is recommended to use minus signs because it is the most convenient.

---

***


(6) List

unordered list

        Add a space at the beginning of the minus sign, followed by text.

        - unordered list

ordered list

        An ordered list can be generated by adding an English dot at the beginning of the number.

        1. Ordered list


(7) Forms

  • Colon on the left, left justified.
  • Colon on the right, right justified.
  • There are colons on both sides, aligned in the center.
  • Use vertical bars | to represent tables.

| first column | second column | third column |

Guess you like

Origin blog.csdn.net/qq_39780701/article/details/128148685