This commit is contained in:
Timothy J. Baek
2024-08-16 17:51:50 +02:00
parent 9025e9dbb1
commit 4f47053e93
5 changed files with 12 additions and 61 deletions
@@ -75,16 +75,13 @@
let tokens;
import 'katex/dist/katex.min.css';
import markedKatex from '$lib/utils/marked/katex-extension';
import markedToken from '$lib/utils/marked/token-extension';
const options = {
throwOnError: false
};
marked.use(markedKatex(options));
marked.use(markedToken({ WEBUI_BASE_URL }));
$: (async () => {
if (message?.content) {