Part1- Markdown grammar

Markdown grammar

Title

Use # + space as the beginning of the title.
The number of # determines the rank of the title. The more #, the lower the rank of the title.

Font

Bold

Add ** to each side of the text and the text will automatically be bold.

Example: Bold → ** Bold **(Delete the space)

Italics

By adding a * to each side of the text, the text will automatically become italic.

Example: Italics → * Italics *(Delete the space)

Both bold and italic

Add ***

Example:Example → ** * Example * **(Delete the space)

Rule out style

Add ~~ to each side of the text,the text will automatically become rule out style.

Example: Rule out → ~~ Rule out ~~(Delete the space)

reference

Add >and space, The next input will become the referenced style.

Example:

Reference

Line

Add --- or *** and press the Enter key, --- will become a line.

Example:



Picture

!+ 【Image name】+ (Image links)

Example:

wallpaper

[Hyperlink name] +(The target address)

Example:

Baidu

List

ordered list

Number + . + space

Unordered list

-+ space

Form

  1. To translate words separated by |, delete empty lines in the source, and exit the source mode will get the corresponding form.

Name|gender

--|--|

John|male

Name gender
John male
  1. With software like Typora, you can quickly create a table in a right-click list.

Code

Add ' 'before and after the code, it will be displayed in the form of code.

Example

<html>
<body>

<script type="text/javascript">
document.write("Hello World!")
</script>

</body>
</html>

posted on 2021-02-17 12:47  黄泉_光  阅读(25)  评论(0)    收藏  举报

导航