md語法
md語法直接兼容html標(biāo)簽 可以直接用html語法吧衷畦,啦啦啦~
下面列舉了一些常用的方法
-
鏈接
[淘寶網(wǎng)](http://www.taobao.com/)
-
圖片
![圖片標(biāo)題](http://shuju.taobao.ali.com/images/web/tsj_main_dirc_img.png)
-
標(biāo)題
# 一級(jí)標(biāo)題 ## 二級(jí)標(biāo)題 ### 三級(jí)標(biāo)題 #### 四級(jí)標(biāo)題 ##### 五級(jí)標(biāo)題 ###### 六級(jí)標(biāo)題
tips:幾個(gè) #
就是幾級(jí)標(biāo)題,最小到六級(jí)
-
斜體
*這是斜體* *[這是斜體鏈接](http://www.taobao.com)* *斜體,[這是斜體鏈接](http://www.taobao.com)*
tips:斜體和鏈接可以混用
-
為字體加顏色
這是<label style="color:red">紅色</label>字體 這是<label style="color:green">綠色</label>字體 這是<label style="color:yellow">黃色</label>字體 這是<label style="color:blue">藍(lán)色</label>字體
<label style="color:red">tips:修改color為對(duì)應(yīng)的顏色英文字母即可,復(fù)雜的顏色不要想了,況且大家也用不到</label>
-
為自體加粗
**加粗**字體
-
Email
Email:<yabing.zyb@alibaba-inc.com>
-
無序排列
* list1 * list2 * list3
-
有序排列
1. list1 2. list2 3. list3
-
分割線
*** --- - - - -
tips: 三種都一樣
-
內(nèi)容框
在上一行內(nèi)容縮進(jìn)的基礎(chǔ)上再縮進(jìn)四個(gè)空格
-
換行
需要換行<br>這是換行后的下一行
-
中劃線
~~中劃線~~
-
添加腳注
這是腳注[^1] [^1]: 這是腳注說明芳肌,會(huì)在文章的末尾顯示.
-
表格
默認(rèn)表格: First Header | Second Header | Third Header ------------ | ------------- | ------------ Content Cell | Content Cell | Content Cell Content Cell | Content Cell | Content Cell 左右浮動(dòng)表格: First Header | Second Header | Third Header :----------- | :-----------: | -----------: Left | Center | Right Left | Center | Right
tips:默認(rèn)向左對(duì)齊
-
內(nèi)容塊
> 這里的內(nèi)容在內(nèi)容塊中
-
例子效果:
- 淘寶網(wǎng)
- 圖片標(biāo)題
-
一級(jí)標(biāo)題
二級(jí)標(biāo)題
三級(jí)標(biāo)題
四級(jí)標(biāo)題
五級(jí)標(biāo)題
六級(jí)標(biāo)題
-
這是斜體
這是斜體鏈接
斜體,這是斜體鏈接 - 這是<label style="color:red">紅色</label>字體
這是<label style="color:green">綠色</label>字體
這是<label style="color:yellow">黃色</label>字體
這是<label style="color:blue">藍(lán)色</label>字體 - 加粗字體
- Email:yabing.zyb@alibaba-inc.com
- list1
- demo1
- demo2
- demo3
- list2
- demo1
- demo2
- demo3
- list3
- list1
- list1
- list2
- list3
-
- 需要換行
這是換行后的下一行 中劃線- 這是腳注[1]
- 默認(rèn)表格:
First Header Second Header Third Header Content Cell Content Cell Content Cell Content Cell Content Cell Content Cell 左右浮動(dòng)表格:
First Header Second Header Third Header Left Center Right Left Center Right 這里的內(nèi)容在內(nèi)容塊中
-
這是腳注說明,會(huì)在文章的末尾顯示. ?