MarkDown grammar (for personal use)

Directory structure display

  • tree -a show all
  • tree -d only show folders
  • tree -L n displays the level of the project, and n represents the number of levels. For example, if you want to display the three-level structure of the project, you can use tree -l 3;
  • tree -I pattern is used to filter documents or folders that do not want to be displayed. For example, if you want to filter the node_modules folder in the project, you can use tree -I "node_modules";
  • tree > tree.md output project structure to tree.md this document
  • tree -N to prevent garbled Chinese names

Such as: tree -l 2 >tree.md. The directory structure in the markDown document is garbled, use ``` to enable the code block mode, and it can be displayed normally as follows.

 

Markdown syntax

1. Newline: Two consecutive spaces plus the Enter key, or <br>

2. Title: #

# 这是一级标题
## 这是二级标题
### 这是三级标题
#### 这是四级标题
##### 这是五级标题
###### 这是六级标题

3. The font is bold, **word**

4, italic, *word*

5. strikethrough, ~~word~~

6. Quote: >

6. Dividing line: Three or more - or *

7. Hyperlink

[简书](http://jianshu.com)
[百度](http://baidu.com)

8. List: Use - + * for unordered lists. Any one is fine.

List nesting: type three spaces between the previous level and the next level

9. Code: Three backtick marks before and after, ``` code ```

10. Picture: ![picture alt](picture link "picture title")

[![沙漠中的岩石图片](/assets/img/shiprock.jpg "Shiprock")](https://markdown.com.cn)

11. Form

表头|表头|表头
---|:--:|---:
内容|内容|内容
内容|内容|内容


姓名|技能|排行
--|:--:|--:
刘备|哭|大哥
关羽|打|二哥
张飞|骂|三弟

Guess you like

Origin blog.csdn.net/u010420283/article/details/128460989