File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 1515 <link rel="icon" type="image/png" href="/_static/icon.png" />
1616 <link rel="stylesheet" href="/_static/site.css" type="text/css" media="screen" />
1717
18+ <script type="importmap" src="/_components/map.json"></script>
19+
1820 <script src="/_components/jquery/jquery.min.js"></script>
1921 <script src="/_components/jquery-syntax/jquery.syntax.min.js"></script>
2022
2830 //]]>
2931 </script>
3032
31- <script type="module">
33+ <script type="module">
3234 // <![CDATA[
33- import mermaid from '/_components/ mermaid/mermaid.esm.min.mjs ';
35+ import mermaid from 'mermaid';
3436 const isDarkMode = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches;
3537 const theme = isDarkMode ? 'dark' : 'default';
3638 mermaid.initialize({startOnLoad: true, theme: theme});
Original file line number Diff line number Diff line change 1+ {
2+ "imports" : {
3+ "mermaid" : " ./mermaid/mermaid.esm.min.mjs"
4+ }
5+ }
You can’t perform that action at this time.
0 commit comments