Skip to content

Commit 44a956c

Browse files
committed
chore: format
1 parent d0b592b commit 44a956c

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

cmd/template.html

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@
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 =
@@ -28,7 +32,7 @@
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;
@@ -136,7 +140,7 @@
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;
@@ -215,7 +219,10 @@
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>

0 commit comments

Comments
 (0)