mirror of
https://github.com/zadam/trilium.git
synced 2025-11-13 00:35:50 +01:00
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:
@@ -24,7 +24,7 @@ async function getRenderedContent(note, options = {}) {
|
||||
if ($renderedContent.find('span.math-tex').length > 0) {
|
||||
await libraryLoader.requireLibrary(libraryLoader.KATEX);
|
||||
|
||||
renderMathInElement($renderedContent[0], {});
|
||||
renderMathInElement($renderedContent[0], {trust: true});
|
||||
}
|
||||
}
|
||||
else if (type === 'code') {
|
||||
|
||||
Reference in New Issue
Block a user