mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-24 09:49:46 +02:00
chore: Cleanup package.json
This commit is contained in:
@@ -104,4 +104,4 @@
|
||||
"**/*.css",
|
||||
"**/*.scss"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@@ -27,9 +27,9 @@ const MermaidExample = async (md: MarkdownRenderer) => {
|
||||
<button class="copy"></button>
|
||||
<span class="lang">mermaid</span>
|
||||
${
|
||||
// html is pre-escaped by the highlight function
|
||||
// (it also adds `v-pre` to ignore Vue template syntax)
|
||||
md.options.highlight(token.content, 'mermaid', langAttrs)
|
||||
// html is pre-escaped by the highlight function
|
||||
// (it also adds `v-pre` to ignore Vue template syntax)
|
||||
md.options.highlight(token.content, 'mermaid', langAttrs)
|
||||
}
|
||||
</div>`;
|
||||
} else if (token.info.trim() === 'mermaid') {
|
||||
|
@@ -20,7 +20,7 @@ export default {
|
||||
// router.go isn't loading the ID properly.
|
||||
window.location.href = `/mermaid/${newPath}`;
|
||||
}
|
||||
} catch (e) { }
|
||||
} catch (e) {}
|
||||
};
|
||||
},
|
||||
} as typeof DefaultTheme;
|
||||
|
Reference in New Issue
Block a user