Katex Chemical equations in Cloze answer not rendering correctly
Closed this issue · 2 comments
PayneGitHub commented
Chemical formula typeset using Katex notations and included in Cloze answers do not render correctly in Anki.
For example, this close question with Katex chemical equation in close answer :
<<remembercz "20220709174549335"
"Water has a chemical formula {$$\ce{H2O}$$}">>
renders incorrectly in Anki:
Water has a chemical formula ( \ce{H2O )}
Where as this cloze question using Katex :
<<remembercz "20220709172833918"
"Water has a chemical formula {$$H_2O$$}">>
renders correctly:
Water has a chemical formula H2O
Any suggestion on fixing this?
sobjornstad commented
You need to escape the braces, or TiddlyRemember will think the occlusion ends after H2O
: https://sobjornstad.github.io/TiddlyRemember/#Escaping%20braces
sobjornstad commented
@PayneGitHub Just checking, did this resolve your issue?