We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8428298 commit 938afa1Copy full SHA for 938afa1
src/core/handlers/mermaid.ts
@@ -329,7 +329,7 @@ mermaid.initialize(${JSON.stringify(mermaidOpts)});
329
svg,
330
options,
331
undefined,
332
- new Set(["fig-width", "fig-height", "mermaid-format"]),
+ new Set([kFigWidth, kFigHeight, kMermaidFormat]),
333
);
334
}
335
};
@@ -370,7 +370,7 @@ mermaid.initialize(${JSON.stringify(mermaidOpts)});
370
)),
371
372
373
374
375
376
@@ -414,7 +414,7 @@ mermaid.initialize(${JSON.stringify(mermaidOpts)});
414
]),
415
416
attrs,
417
- new Set(["mermaid-format"]),
+ new Set([kMermaidFormat]),
418
419
420
0 commit comments