Mathjax3.0 数学公式HTML渲染插件测试
Copyright Notice: This article is an original work licensed under the CC 4.0 BY-NC-ND license.
If you wish to repost this article, please include the original source link and this copyright notice.
Source link: https://v2know.com/article/341
按照官网的说明,引入了:
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
原始内容:
When \(a \ne 0\), there are two solutions to \(ax^2 + bx + c = 0\) and they are
\[x = {-b \pm \sqrt{b^2-4ac} \over 2a}.\]
Mathjax:
第一次使用数学公式渲染插件。
基本上,我还是比较担心引入的样式会和我的CSS样式冲突。
目前没有发现问题,一旦发现问题,我就准备撤销引用,改CKEditor直引。
为此,我直接新建了Maths分类专栏专门用来存放带数学公式的Blog。
This article was last edited at 2020-06-22 23:56:48