EKsumic's Blog

let today = new Beginning();

Click the left button to use the catalog.

OR

Mathjax3.0 数学公式HTML渲染插件测试

按照官网的说明,引入了:

<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:

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}.\]

第一次使用数学公式渲染插件。

基本上,我还是比较担心引入的样式会和我的CSS样式冲突。

目前没有发现问题,一旦发现问题,我就准备撤销引用,改CKEditor直引。

为此,我直接新建了Maths分类专栏专门用来存放带数学公式的Blog。

This article was last edited at 2020-06-23 08:56:48

* *