Update KaTeX to v0.13.9 (#1925)

* Update KaTeX to v0.13.9

* Allow KaTeX commands like \url and \includegraphics
https://katex.org/docs/options.html
This commit is contained in:
Jules-Bertholet
2021-05-08 14:58:56 -04:00
committed by GitHub
parent 1308dc20e8
commit a410ed1b74
76 changed files with 15750 additions and 7252 deletions

View File

@@ -134,7 +134,7 @@ async function setContentPane() {
if ($content.find('span.math-tex').length > 0) {
await libraryLoader.requireLibrary(libraryLoader.KATEX);
renderMathInElement($content[0], {});
renderMathInElement($content[0], {trust: true});
}
}
else if (revisionItem.type === 'code') {