The documentation is a work in progress, and English edition is just an empty shell for now. I will translate it when Chinese edition has done.
Markdown
auto-render.js
会在katex.min.js
加载完成后引入。render-math.js
会在auto-render.js
加载完成后引入。
render-math.js
KaTeX 默认的一组块级标记是两个 $
,它和自定义脚本冲突了,这里把它调整为了 ${ }
。
示例
${ c = \pm\sqrt{a^2 + b^2} }
${ c = \pm\sqrt{a^2 + b^2} }
$ c = \pm\sqrt{a^2 + b^2} $
$ c = \pm\sqrt{a^2 + b^2} $
\\[ \sqrt{3x-1}+(1+x)^2 \\]
\[ \sqrt{3x-1}+(1+x)^2 \]
\\( \sqrt{3x-1}+(1+x)^2 \\)
\( \sqrt{3x-1}+(1+x)^2 \)
- This page is open source, improve it