File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed
Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change 33 < head >
44 < meta name ="viewport " content ="width=device-width, initial-scale=1 " />
55 < title > {{ .Title }}</ title >
6- < link rel ="icon " type ="image/svg+xml " href ="https://github.githubassets.com/favicons/favicon.svg ">
6+ < link
7+ rel ="icon "
8+ type ="image/svg+xml "
9+ href ="https://github.githubassets.com/favicons/favicon.svg "
10+ />
711 {{ $cssURL :=
812 "https://cdnjs.cloudflare.com/ajax/libs/github-markdown-css/5.6.1/github-markdown.min.css" }} {{
913 if eq .Mode "dark" }} {{ $cssURL =
2832 .copy-button : hover {
2933 background-color : # 262c36 ;
3034 }
31- }
35+ }
3236 @media (prefers-color-scheme : light) {
3337 .copy-button : hover {
3438 background-color : # eff2f5 ;
136140 const mermaidJsTheme = window . matchMedia ( '(prefers-color-scheme: dark)' ) . matches ? 'dark' : 'default' ;
137141 { { end } }
138142 mermaid . initialize ( { startOnLoad : false , theme : mermaidJsTheme } ) ;
139-
143+
140144 $ ( 'div.highlight-source-mermaid > pre' ) . each ( async function ( i , pre ) {
141145 const originalText = pre . textContent ;
142146 const id = 'mermaid-diagram-' + i ;
215219 loadmd ( ) ;
216220 } ) ( )
217221 </ script >
218- < script type ="text/javascript " src ="https://cdnjs.cloudflare.com/ajax/libs/mermaid/11.3.0/mermaid.min.js "> </ script >
222+ < script
223+ type ="text/javascript "
224+ src ="https://cdnjs.cloudflare.com/ajax/libs/mermaid/11.3.0/mermaid.min.js "
225+ > </ script >
219226 < article id ="markdown-body " class ="markdown-body "> </ article >
220227 </ body >
221228</ html >
You can’t perform that action at this time.
0 commit comments