Skip to content

Commit

Permalink
fix(markdown): import KaTeX CSS locally instead of via CDN
Browse files Browse the repository at this point in the history
  • Loading branch information
nsarrazin committed Feb 26, 2025
1 parent 5d6a173 commit 05af052
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/routes/conversation/[id]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
import { useSettingsStore } from "$lib/stores/settings.js";
import { browser } from "$app/environment";
import "katex/dist/katex.min.css";
let { data = $bindable() } = $props();
let loading = $state(false);
Expand Down Expand Up @@ -472,12 +474,6 @@

<svelte:head>
<title>{title}</title>
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/katex.min.css"
integrity="sha384-GvrOXuhMATgEsSwCs4smul74iXGOixntILdUW9XmUC6+HX0sLNAK3q71HotJqlAn"
crossorigin="anonymous"
/>
</svelte:head>

<ChatWindow
Expand Down

0 comments on commit 05af052

Please sign in to comment.