-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
160 lines (143 loc) · 5.49 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8" />
<title>瞎记</title>
<meta name="description" content="韩立" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="description" content="Description" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0" />
<link rel="stylesheet" href="./assets/vue.css" />
<link rel="stylesheet" href="./assets/my_style.css" />
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/katex@latest/dist/katex.min.css" />
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify-dark-mode@latest/dist/style.min.css" />
<!-- <link
rel="stylesheet"
href="//cdn.jsdelivr.net/npm/gitalk/dist/gitalk.css"
/> -->
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.css" />
<!-- <link
rel="stylesheet"
href="https://cdn.jsdelivr.net/gh/A5yncX/[email protected]/darcula.css"
/> -->
</head>
<body>
<div id="app"></div>
<script src="//cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js"></script>
<script>
var num = 0;
mermaid.initialize({ startOnLoad: false });
window.$docsify = {
disqus: "my-notes-3",
ga: "G-D4T0SSC9LL",
// 警告:历史模式下请求old会返回old文件夹目录,而hash模式会返回404
// 错误:历史模式下docsify无法热重载
// routerMode: 'history',
alias: { "/.*/README.md": "README.md" },
executeScript: true,
homepage: "README.md",
repo: "Ysoding/Ysoding.github.io",
loadSidebar: "README.md",
subMaxLevel: 3,
themeColor: "#42b983", // for dark mode
noEmoji: true, // prevent std::fs::metadata resolve column to emoji
copyCode: {
buttonText: "Copy to clipboard",
errorText: "Error",
successText: "Copied",
},
count: {
countable: true,
position: "top",
margin: "10px",
float: "left",
fontsize: "0.9em",
color: "rgb(90,90,90)",
language: "chinese",
localization: {
words: "",
minute: "",
},
isExpected: true,
},
darkMode: {
dark: {
background: "#1c2022",
toggleBtnBg: "#34495e",
textColor: "#d4d4d4",
},
light: {
background: "#ebebeb",
toggleBtnBg: "var(--theme-color)",
textColor: "#202528",
},
},
search: "auto",
pagination: {
previousText: "PREVIOUS",
nextText: "NEXT",
crossChapter: true,
},
markdown: {
renderer: {
code: function (code, lang) {
if (lang === "mermaid") {
return (
'<div class="mermaid">' +
mermaid.render("mermaid-svg-" + num++, code) +
"</div>"
);
}
return this.origin.code.apply(this, arguments);
},
},
},
};
</script>
<!-- Docsify v4 -->
<script src="//cdn.jsdelivr.net/npm/docsify@4"></script>
<!-- Search -->
<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/search.min.js"></script>
<!-- disqus -->
<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/disqus.min.js"></script>
<!-- Gitalk -->
<!-- <script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/gitalk.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/gitalk/dist/gitalk.min.js"></script>
<script>
const gitalk = new Gitalk({
clientID: "8757f3b13b97ab91d3f3",
clientSecret: "25b439d3eb58e90c2de134c52169114af7d03913",
repo: "Ysoding.github.io",
owner: "Ysoding",
admin: ["XmchxUp", "Ysoding"],
// facebook-like distraction free mode
distractionFreeMode: false,
});
</script> -->
<!-- Pagination -->
<script src="//cdn.jsdelivr.net/npm/docsify-pagination/dist/docsify-pagination.min.js"></script>
<!-- Copy to Clipboard -->
<script src="//cdn.jsdelivr.net/npm/docsify-copy-code/dist/docsify-copy-code.min.js"></script>
<!-- Count -->
<script src="https://cdn.jsdelivr.net/npm/docsify-count@latest/dist/countable.min.js"></script>
<!-- Katex -->
<script src="//cdn.jsdelivr.net/npm/katex@latest/dist/katex.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/marked@4"></script>
<script src="//cdn.jsdelivr.net/npm/docsify-katex@latest/dist/docsify-katex.js"></script>
<!-- Dark mode -->
<script src="//cdn.jsdelivr.net/npm/docsify-dark-mode@latest/dist/index.min.js"></script>
<!-- language hightlights -->
<script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-bash.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-python.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-go.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-c.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-cpp.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-rust.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-javascript.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-typescript.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-kotlin.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-java.min.js"></script>
<!-- GA4 -->
<script src="//cdn.jsdelivr.net/npm/docsify-plugin-ga"></script>
</body>
</html>