2026-09-23·by Sijie Wang#standmeet#rendering#katex#math

katex

KaTeX(数学公式)

Parent: rendering-engines

数学公式渲染。StandMeet 侧:remark-mathrehype-katex(katex ^0.16)。Obsidian 侧:MathJax

对称性: MathJax ⊇ KaTeX,所以只要写KaTeX 支持的子集,两端渲染结果就一致。$…$ 行内 / $$…$$ 块级;aligned / cases / bmatrix 在两端都能用。

注意事项:

  • MathJax 是超集 → 仅 MathJax 支持的宏,在 Obsidian 里能渲染,但在 StandMeet 里会失败。要留在 KaTeX 支持的函数列表之内。
  • StandMeet 运行了 escapeCurrencyDollars,所以 \$100 … \$200 不会被解析成数学公式(修复见提交 fac9a5a)。

该渲染管线在提交 51ab1c2 中加入。

about this entry

One of sijie's wiki entries. The AI on this site is grounded in the same corpus and answers in sijie's voice, with citations back to entries like this one — answering costs sijie money, so it waits behind a code: enter an access code →

katex