基础语法
标题
1 | # This is an <h1> tag |
This is an <h1>
tag
This is an <h2>
tag
This is an <h3>
tag
加粗/斜体/删除线
斜体
1 | *This text will be italic* |
This text will be italic
This text will be italic
加粗
1 | **This text will be blod** |
This text will be blod
This text will be blod
组合
You can combine them
列表
有序
1 | 1. Item1 |
链接
1 | [GitHub](http://github.com) -automatic! |
GitHub -automatic!
引用
1 | As Kanye West said: |
As Kanye West said:
We’re living the future so
the present is our past.
行内代码
1 | I think you should use an `<addr>` element here instead. |
I think you should use an <addr>
element here instead.
语法高亮
1 | function fancyAlert(arg) { |
使用四个空格
function fancyAlert(arg) {
if(arg) {
$.facebox({div:'#foo'})
}
}
任务列表
1 | - [x] @mentions, #refs, [links](), **formatting**, and <del>tags</del> supported |
- @mentions, #refs, links, formatting, and
tagssupported - list syntax required (any unordered or ordered list supported)
- this is a complete item
- this is an incomplete item
表格
1
2
3列1|列b
-|-
adjfadofafoa|dfasdfjkladfjajkkfklas
列1 | 列b |
---|---|
adjfadofafoa | dfasdfjkladfjajkkfklas |