Mardown常用指令

来源:互联网 发布:加工中心仿真软件 编辑:程序博客网 时间:2024/06/04 00:39

标题

# 一级标题## 二级标题……###### 六级标题

引用

> 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- item21. item12. item2

表格(GFM)

| foo | bar || --- | --- || yep | nop |

代码

`console.log(1)`

代码块(GFM)(支持语法高亮)

```jsfunction 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±b24ac2ax=−b±b2−4ac2a
行内公式:x=b±b24ac2a

原创粉丝点击