This commit is contained in:
2024-09-25 17:00:22 -06:00
parent 8f415d0b8e
commit 6e3dcd6cb1
8 changed files with 62 additions and 221 deletions

View File

@@ -1,6 +1,6 @@
"use client";
import { marked } from "marked";
import markedKatex from "marked-katex-extension";
// import markedKatex from "marked-katex-extension";
import * as DOMPurify from "isomorphic-dompurify";
export function markdownToHTMLSafe(markdownString: string) {