Skip to content

Commit 892d56b

Browse files
committed
mermaid: make client-side JS the default when JS is available
1 parent 6fd145a commit 892d56b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/handlers/mermaid.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ object:
278278

279279
const makeDefault = async () => {
280280
if (isJavascriptCompatible(handlerContext.options.format)) {
281-
return await makeSvg();
281+
return await makeJs();
282282
} else if (
283283
isMarkdownOutput(handlerContext.options.format.pandoc, ["gfm"])
284284
) {

0 commit comments

Comments
 (0)