markmap 思维导图里latex化学公式显示错误
markmap在使用KaTeX为公式渲染时,使用化学公式命令“\ce”会报错?
当我在md文件中输入
$\ce{Hg^2+ ->[I-] HgI2 ->[I-] [Hg^{II}I4]^2-}$ 时,预览输出为:
ParseError: KaTeX parse error: Undefined control sequence: \ce at position 1: \̲c̲e̲{Hg^2+ ->[I-] H…
上述公式在typora自身的编辑器中显示正常,无错误,只是在插件渲染时出现失败。
markmap 使用的 [email protected] 没有 mhchem 包,应该是显示不了的。
我明天看看有没有可能把 Typora(使用的是 Mathjax) 的 mhchem 集成到 markmap 的 katex 中。不过我觉得大概率不行。
试了好久,不太行。我放弃了。此 issue 关闭,抱歉。
没关系,费心了,谢谢。发自我的手机-------- 原始邮件 --------发件人: null @.>日期: 2025年5月8日周四 16:16收件人: obgnail/typora_plugin @.>抄送: nordenecke @.>, Mention @.>主 题: Re: [obgnail/typora_plugin] markmap 思维导图里latex化学公式显示错误 (Issue #982)obgnail left a comment (obgnail/typora_plugin#982) 试了好久,不太行。我放弃了。此 issue 关闭,抱歉。
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>