GitbookIO/plugin-katex

Cannot insert literal ""$$"

Opened this issue · 2 comments

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.

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

\$\$

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