Skip to content

Commit 2439766

Browse files
author
wangcong
committed
update readme
1 parent 874f471 commit 2439766

File tree

1 file changed

+21
-2
lines changed

1 file changed

+21
-2
lines changed

README.md

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,15 +269,34 @@ markdown中可以插入html标签,包括`<kdb> <b> <i> <em> <sup> <sub> <br>`
269269
<b>加粗字体</b>
270270
```
271271

272-
https://gist.github.com/merrier/eb66c2aff47067d3bbfeaf570733a0f4
273-
274272
#### 效果:
275273

276274
使用 <kbd>Ctrl</kbd>+<kbd>Alt</kbd>+<kbd>Del</kbd> 重启电脑
277275
<pre>代码块</pre>
278276
<b>加粗字体</b>
279277

280278

279+
### 公式
280+
281+
当你需要在编辑器中插入数学公式时,可以使用两个美元符`$$`包裹TeX或LaTeX格式的数学公式来实现,并且支持HTML属性:
282+
283+
```
284+
$$ x = {-b \pm \sqrt{b^2-4ac} \over 2a}. $$
285+
$$
286+
(x+1)^2 = \cssId{step1}{\style{visibility:hidden}{(x+1)(x+1)}}
287+
$$
288+
```
289+
290+
$$ x = {-b \pm \sqrt{b^2-4ac} \over 2a}. $$
291+
$$
292+
(x+1)^2 = \cssId{step1}{\style{visibility:hidden}{(x+1)(x+1)}}
293+
$$
294+
295+
296+
297+
298+
299+
281300
### 语法
282301

283302
* [官方语法](http://daringfireball.net/projects/markdown/syntax)

0 commit comments

Comments
 (0)