Closed TripleCamera closed 4 months ago
None of the following could escape dollar sign, either:
$html escaped math$
$<!---->comment escaped math<!---->$
<span>$</span>tag escaped math<span>$</span>
😞
can not reproduce.
Backslashes can escape dollar signs.
can not reproduce.
Backslashes can escape dollar signs.
Which theme & math engine are you using?
@uiolee Ping~
with next
theme and mathjax
enable
\$sigle escaped math\\$
will works
hexo-renderer-pandoc
just simply transpile markdown.In my tests, hexo-renderer-pandoc
and hexo
both rendered the correct results
the rendering and displaying formulas is determined by the math engine or theme. I think this has nothing to do with pandoc or hexo
All right. I just posted a discussion at next-theme/hexo-theme-next#765.
How to escape dollar signs if I don't want math formulas?
Source code:
Output: All of them are displayed as math formulas. The third one has a backslash at the beginning.
_config.yml
:_config.next.yml
: