Markdown语法总结

原创
2014/05/07 17:36
阅读数 482
# Markdown语法总结
-----------------------
# 标题1
## 标题2
-----------------------
*斜体* and **粗体**

-----------------------
#### 无序列表
* 项目1
* 项目2
* 项目3

+ Candy.
+ Gum.
+ Booze.

- Candy.
- Gum.
- Booze.

#### 有序列表
1. 项目1
2. 项目2
3. 项目3

#### 嵌套列表
- 项目1
 - 子项目1
 - 子项目2
- 项目2

-----------------------
#### 带文本说明的无序列表
* A list item.
With multiple paragraphs.

* Another item in the list.

-----------------------
#### 链接
This is an [example link](http://example.com/).
This is an [example link](http://example.com/ "带标题的链接").

#### 参考链接
I get 10 times more traffic from [Google][1] than from [Yahoo][2] or [MSN][3].

[1]: http://google.com/ "Google"
[2]: http://search.yahoo.com/ "Yahoo Search"
[3]: http://search.msn.com/ "MSN Search"

-----------------------
#### 图片
![alt text](http://tp4.sinaimg.cn/1821029715/50/1289317070/1 "Title")
#### 参考图片
![alt text][id]

[id]: http://tp4.sinaimg.cn/1821029715/50/1289317070/1 "Title"

-----------------------
#### 代码
`<blink>`
#### 代码块
    ``` Python
    print 'Hello World!'
    ```
#### 代码块2
    print 'Hello World!'

-----------------------
#### 引用的文字
>表示引用文字内容
展开阅读全文
加载中

作者的其它热门文章

打赏
1
4 收藏
分享
打赏
0 评论
4 收藏
1
分享
返回顶部
顶部