chore: format

This commit is contained in:
Timothy Jaeryang Baek
2026-04-17 14:28:18 +09:00
parent e8e655d0de
commit 4113b15a60
79 changed files with 501 additions and 117 deletions
+5 -1
View File
@@ -1723,7 +1723,11 @@ const cleanupMermaidTempElements = (id: string) => {
document.getElementById(`i${id}`)?.remove();
};
export const renderMermaidDiagram = async (mermaid: typeof import('mermaid').default, code: string, renderId?: string) => {
export const renderMermaidDiagram = async (
mermaid: typeof import('mermaid').default,
code: string,
renderId?: string
) => {
const id = renderId ?? `mermaid-${uuidv4()}`;
try {
const parseResult = await mermaid.parse(code, { suppressErrors: false });