mirror of
https://github.com/LearnOpenGL-CN/LearnOpenGL-CN.git
synced 2025-08-23 04:35:28 +08:00
Update style guide for the new MathJax extension
This commit is contained in:
@@ -61,7 +61,24 @@
|
|||||||
|
|
||||||
## 特殊元素
|
## 特殊元素
|
||||||
|
|
||||||
- 公式用[http://latex2png.com/](http://latex2png.com/)转换,文本中的公式Resolution为150,单独的公式为200
|
- 已经安装MathJax插件,如果想要添加数学公式的话直接使用代码就行了:
|
||||||
|
|
||||||
|
如果是行内的数学公式:
|
||||||
|
|
||||||
|
```
|
||||||
|
\(...\)
|
||||||
|
```
|
||||||
|
|
||||||
|
如果是独立的数学公式:
|
||||||
|
|
||||||
|
```
|
||||||
|
$$
|
||||||
|
...
|
||||||
|
$$
|
||||||
|
```
|
||||||
|
|
||||||
|
数学公式可以通过右击原文中的公式Show Math As->Tex Commands,复制弹出窗口内的代码获得。
|
||||||
|
|
||||||
- 视频用Video标签添加
|
- 视频用Video标签添加
|
||||||
|
|
||||||
```html
|
```html
|
||||||
|
Reference in New Issue
Block a user