mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08:00
38 lines
1.2 KiB
HTML
38 lines
1.2 KiB
HTML
<html>
|
|
<head>
|
|
<script src="/e2e.js"></script>
|
|
<link href="https://fonts.googleapis.com/css?family=Mansalva&display=swap" rel="stylesheet">
|
|
<style>
|
|
body {
|
|
/* font-family: 'Mansalva', cursive;
|
|
font-family: 'Mansalva', cursive; */
|
|
font-family: 'times';
|
|
}
|
|
/* .mermaid-main-font {
|
|
font-family: "trebuchet ms", verdana, arial;
|
|
font-family: var(--mermaid-font-family);
|
|
} */
|
|
/* :root {
|
|
--mermaid-font-family: '"trebuchet ms", verdana, arial';
|
|
--mermaid-font-family: "Comic Sans MS", "Comic Sans", cursive;
|
|
--mermaid-font-family: '"Lucida Console", Monaco, monospace';
|
|
} */
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<script src="./mermaid.js"></script>
|
|
<script>
|
|
// Notice startOnLoad=false
|
|
// This prevents default handling in mermaid from render before the e2e logic is applied
|
|
mermaid.initialize({
|
|
startOnLoad: false,
|
|
useMaxWidth: true,
|
|
// "themeCSS": ":root { --mermaid-font-family: \"trebuchet ms\", verdana, arial;}",
|
|
// fontFamily: '\"trebuchet ms\", verdana, arial;'
|
|
// fontFamily: '"Comic Sans MS", "Comic Sans", cursive'
|
|
fontFamily: '"Mansalva", cursive'
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|