点击小眼睛开启蜘蛛网特效

测试markdown生成的html文本编辑文章后能否正确添加公式

测试目的

测试通过由markdown编辑器生成的html文本进而生成的文章,是否可以用过wordpress公式插件QuickLatex编辑文本来实现公式的显示。

测试文本

本文由VScode编写文章,通过Markdown Preview Enhanced插件来导出html文本粘贴到wordpress编辑器中,然后在可视化窗口中进行公式的添加和编辑。

下图为wordpress中原生的编辑器,注意文本中存放原生的html文本。

《测试markdown生成的html文本编辑文章后能否正确添加公式》

将这段文字粘贴到wordpress中的文本编辑器当中,通过latex插件来进行公式的渲染:

At first, we sample f(x) in the N (N is odd) equidistant points around x^*:

    \[ f_k = f(x_k),\: x_k = x^*+kh,\: k=-\frac{N-1}{2},\dots,\frac{N-1}{2} \]

where h is some step.
Then we interpolate points \{(x_k,f_k)\} by polynomial

(1)   \begin{equation*}  P_{N-1}(x)=\sum_{j=0}^{N-1}{a_jx^j} \end{equation*}

Its coefficients \{a_j\} are found as a solution of system of linear equations:

(2)   \begin{equation*}  \left\{ P_{N-1}(x_k) = f_k\right\},\quad k=-\frac{N-1}{2},\dots,\frac{N-1}{2} \end{equation*}

Here are references to existing equations: (1), (2).
Here is reference to non-existing equation (??).

  点赞
本篇文章采用 署名-非商业性使用-禁止演绎 4.0 国际 进行许可
转载请务必注明来源: https://oldpan.me/archives/test-markdown-html-formula

   关注Oldpan博客微信公众号,你最需要的及时推送给你。


发表评论

邮箱地址不会被公开。 必填项已用*标注

评论审核已启用。您的评论可能需要一段时间后才能被显示。