使用katex解析Latex公式,首先引入相应资源 <link href="//cdn.bootcss.com/KaTeX/0.7.1/katex.min.css" rel="stylesheet"><script src="//cdn.bootcss.com/KaTeX/0.7.1/katex.min.js"></script><script src="//cdn.bootcss.com/KaTeX/0.7.1/contrib/auto-render.min.js"></script>需要注意以下几个地方: 行内公式,Latex使用$equation$来表示行内公式,不过在Katex中使用\(equation\)来表示。(在editor.md中使用$$) 因为Markdown中\是转义字符,所以在Markdown中输入行内公式使用\\(equation\\)。其他地方如 \{, \\
-
2018-10-10 6061 0
-
2018-10-17 4791 0
-
2018-10-17 3611 0
-
2019-03-19 3462 0
-
2017-03-05 2635 0
-
2017-04-15 2625 0
-
2017-03-05 2588 0
-
2017-06-15 2462 0
-
2020-05-15 2244 0
-
2017-07-05 2249 0
-
2018-08-08 1524 0
-
2019-03-19 3462 0
-
2017-03-05 2588 0
-
2017-03-05 2635 0
-
2017-05-31 2084 0
-
2018-09-06 2253 0
-
2018-07-29 533 0
-
2017-03-05 2635 0
-
2017-03-05 2588 0
-
2019-03-19 3462 0
-
2020-05-15 2244 0
-
2019-03-02 415 0
-
2018-09-18 349 0
-
2020-12-06 696 0