GitbookIO / plugin-katex

Math typesetting using KaTex
Apache License 2.0
60 stars 37 forks source link

Cannot insert literal ""$$" #14

Open vihanb opened 7 years ago

vihanb commented 7 years ago

In a case where I'd like to have a literal $$ (in my case in a `...`). Pretty much nothing seems to let me do this. I've tried using HTML entities, escaping. All sorts of weird stuff like `$\$` but nothing seems to work.

lukejanicke commented 7 years ago

Just passing by. Did you try escaping two dollar signs?

\$\$

benjamin-rood commented 6 years ago

@lukejanicke That works, yes, but not inside code blocks. It just renders it as \$\$ instead of $$