1. 数学公式

为了支持数学公式, 我们可以使用KaTex和MathJax插件, 官网上说Katex速度要快于MathJax

1.1. katex

MathJax使用LaTeX语法编写数学公式教程

[!WARNING|type:flat] 安装时报错: unknown block tag: endblock

"plugins": [
    "katex"
]

使用示例:

Inline math: {% math %}\int_{-\infty}^\infty g(x) dx{% endmath %}


Block math:

{% math %}
\int_{-\infty}^\infty g(x) dx
{% endmath %}

Or using the templating syntax:

{% math %}\int_{-\infty}^\infty g(x) dx{% endblock %}
Copyright © 温玉 2021 | 浙ICP备2020032454号 all right reserved,powered by Gitbook该文件修订时间: 2022-03-06 07:08:09

results matching ""

    No results matching ""