标题
# 一级标题
## 二级标题
……
###### 六级标题
引用
> A man who stands for nothing will fall for anything.
文字加粗、斜体、删除(GFM)
**bold** text, __bold__ text
*italic* text, _italic_ text
~~deleted text~~
链接
[this is a link](http://name.com)
图片
![](http://name.com/pic.jpg)
![screenshot](http://name.com/pic.jpg)
列表
- item1
- item2
1. item1
2. item2
表格(GFM)
| foo | bar |
| --- | --- |
| yep | nop |
代码
`console.log(1)`
代码块(GFM)(支持语法高亮)
```js
function fn() {
alert(2)
}
```
Latex公式
$$ x = \dfrac{-b \pm \sqrt{b^2 - 4ac}}{2a} $$
或:
\\[ x = \dfrac{-b \pm \sqrt{b^2 - 4ac}}{2a} \\]
行内公式:
$ x=\frac{-b\pm\sqrt{b^2-4ac}}{2a} $
或者:
\\( x=\frac{-b\pm\sqrt{b^2-4ac}}{2a} \\)
或者:
\\$ x=\frac{-b\pm\sqrt{b^2-4ac}}{2a} \\$
x=−b±√b2−4ac2a
行内公式:x=−b±√b2−4ac2a