好記性不如爛筆頭
-
標題
一個#表示一級標題,最多6個表示6級標題
# h1
## h2
### h3
#### h4
##### h5
###### h6
h1
h2
h3
h4
h5
h6
-
列表
-
無序列表,用 * + - 都可以表示,【可以用四個空格來分級】
* 列表
????+ 次級
????- 次級
* 列表- 列表
- 次級
- 次級
- 列表
- 列表
-
有序列表,用數(shù)字.表示,【列表用四個空格可以再分級】
- 列表
- 次級
- 次級
- 列表
- 列表
- 列表
-
區(qū)塊引用
用>表示引用,多層引用就用多個>
> 一級引用
>> 二級引用
>>> 三級引用
一級引用
二級引用
三級引用
-
分割線
用三個 * (或 - 或 _) 表示
***
---
___
-
鏈接
- 鏈接文字放到中括號[]里,鏈接地址放到小括號里,
比如:[鏈接文字](http://baidu.com) 結果就是這樣:鏈接文字 - 鏈接地址放到<>里,
比如:<http://baidu.com> 結果就是這樣: http://baidu.com - 引用,通常用于注解
[谷歌][1],[雅虎][2],[微軟][3]
谷歌,雅虎,微軟
[1]: http://google.com/ "google"
[2]: http://yahoo.com/ "yahoo"
[3]: http://msn.com/ "msn"
-
圖片

與鏈接一樣只是在開頭多了個!
比如:
-
代碼框
開頭結尾用`,單行用一個`,多行用三個```
1. 單行:開頭結尾用一個反引號`
` console.log('talk is cheap, show me the code') `
console.log('talk is cheap, show me the code')
- 多行:開頭與結尾分別用三個反引號```單獨占一行,可指定或不指定語言,比如javascript
``` javascript
for(let i in skills){
????console.log('wanderful skill: ' + skills[I]);
}
```
for(let i in skills){
console.log('wanderful skill: ' + skills[I]);
}
```
npm install sftp-client-promise
```
npm install sftp-client-promise
-
表格
用:的不同位置來改變對齊方式,默認左對齊(:-),右對齊(-:),居中對齊(:-:)
- 方式一
|head|head|head|
|:----:|:----|----:|
|center|left|right|
|center|left|right|
|center|left|right|
head | head | head |
---|---|---|
center | left | right |
center | left | right |
center | left | right |
- 方式二
head|head|head
---:|:---:|---|
right|center|left
right|center|left
head | head | head |
---|---|---|
right | center | left |
right | center | left |
- 方式三
head|head|head
-|-:|:-:|
left|right|center
left|right|center
head | head | head |
---|---|---|
left | right | center |
left | right | center |
-
強調
開頭結尾用*(或者_),*表示斜體,**表示加粗,***表示斜體加粗
- 用*表達
- *em*
- **strong**
- ***斜體加粗***
- em
- strong
- 斜體加粗
- 用_表達
- _em_
- __strong__
- ___斜體加粗___
em
strong
斜體加粗
-
轉義
基本與js的轉義一樣
-
刪除線
開頭結尾用~~
~~待刪除~~
刪除線
-
顏色
顏色表示復雜一點:$\color{顏色}{內容}$
$
開頭$
結尾,第一個{}
填顏色,第二個{}
填寫內容
$\color{red}{talk}$ is cheap, $\color{rgba(0,255,0,.8)}{show}$me the $\color{#ff0000}{code}$
is cheap,
me the
$\color{#00CED1}{顏色的表示就是這些}$