From c4ef89df54e09273e5283550d1c6241f07bb953a Mon Sep 17 00:00:00 2001 From: Steve Landey Date: Wed, 28 Aug 2024 11:28:47 -0700 Subject: [PATCH] Remove mermaid comment that isn't true --- src/clientjs/index.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/clientjs/index.ts b/src/clientjs/index.ts index f8c5662..8fddd1e 100644 --- a/src/clientjs/index.ts +++ b/src/clientjs/index.ts @@ -3,10 +3,6 @@ import mermaid from "mermaid"; window.onload = () => { /* MERMAID */ - // It would probably be better to run Mermaid at build time and generate static SVGs, - // but this is a good test of the client-side JS workflow, so this is how it is for - // now. - // Replace all
...
with just

   [...document.querySelectorAll("pre code.language-mermaid")].map((codeEl) => {
     const parent = codeEl.parentElement!;