From dfdea67abb84e39ae9a4421dcdaff84af3ede07b Mon Sep 17 00:00:00 2001 From: Liam Huang Date: Wed, 12 Feb 2020 16:27:53 +0800 Subject: [PATCH] Update math-equations.md --- source/docs/third-party-services/math-equations.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/source/docs/third-party-services/math-equations.md b/source/docs/third-party-services/math-equations.md index e67a48d6..b3ca0a2a 100644 --- a/source/docs/third-party-services/math-equations.md +++ b/source/docs/third-party-services/math-equations.md @@ -27,6 +27,19 @@ math: enable: true # See: https://mhchem.github.io/MathJax-mhchem/ mhchem: false + # For hexo-renderer-marked, the default renderer of Hexo, some math equations with + # multiple subscribe mark of LaTeX (say, the underscore `_`) might cause problems. + # Enable this flag could bypass this problem by wrap your math codes in the inline-math_in_verbatim + # marks of Markdown, say, the backquote pair. + # For example, + # ``` + # $ E = mc^2 $. + # ``` + # could be replaced by + # ``` + # `$ E = mc^2 $`. + # ``` + math_in_verbatim: false # hexo-renderer-markdown-it-plus (or hexo-renderer-markdown-it with markdown-it-katex plugin) required for full Katex support. katex: