Replies: 2 comments 3 replies
-
The katex.render(element.textContent, element, {
displayMode: false,
throwOnError: false,
trust: ({command}) => command === "\\htmlId"
}); |
Beta Was this translation helpful? Give feedback.
1 reply
-
I just found a seemingly unrelated error, this also fixes the trust: ["\\htmlId"] |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
From the docs I gather that one can set HTML IDs for reference from elsewhere
However,
will just print
htmlId
in redMy render options are
This is with KaTeX 0.13.11.
Any idea what may be wrong here?
(Btw I added KaTeX to xdoc, too.)
Beta Was this translation helpful? Give feedback.
All reactions