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