zhangdocs 1.0.6 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/theme/handbook/head.ejs +40 -23
package/package.json
CHANGED
package/theme/handbook/head.ejs
CHANGED
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
<html lang="en">
|
|
3
3
|
|
|
4
4
|
<head>
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
5
|
+
<meta charset="UTF-8">
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
7
|
+
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
8
|
+
<title>
|
|
9
|
+
<%=title%>
|
|
10
|
+
</title>
|
|
11
|
+
<link rel="stylesheet" href="<%=relative_path%>static/css/main.css">
|
|
12
|
+
<link rel="stylesheet" href="https://static.docs-hub.com/bootstrapmin_1645176572503.css">
|
|
13
|
+
<!-- MathJax 配置 -->
|
|
14
|
+
<script>
|
|
15
15
|
MathJax = {
|
|
16
16
|
tex: {
|
|
17
17
|
inlineMath: [['$', '$'], ['\\(', '\\)']],
|
|
@@ -22,20 +22,37 @@
|
|
|
22
22
|
fontCache: 'global'
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
25
|
+
</script>
|
|
26
|
+
<!-- 加载 MathJax -->
|
|
27
|
+
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-svg.js"></script>
|
|
28
|
+
<script src="https://cdn.jsdelivr.net/npm/mermaid@10.6.1/dist/mermaid.min.js"></script>
|
|
29
|
+
<script>
|
|
30
|
+
document.addEventListener('DOMContentLoaded', function () {
|
|
31
|
+
mermaid.initialize({
|
|
32
|
+
startOnLoad: true,
|
|
33
|
+
theme: 'default',
|
|
34
|
+
themeVariables: {
|
|
35
|
+
primaryColor: '#ff6b6b',
|
|
36
|
+
primaryTextColor: '#333',
|
|
37
|
+
primaryBorderColor: '#ff6b6b',
|
|
38
|
+
lineColor: '#333',
|
|
39
|
+
secondaryColor: '#f8f9fa',
|
|
40
|
+
tertiaryColor: '#fff'
|
|
36
41
|
}
|
|
37
|
-
|
|
42
|
+
});
|
|
43
|
+
});
|
|
44
|
+
</script>
|
|
45
|
+
<style>
|
|
46
|
+
.page-toc>ul .red {
|
|
47
|
+
background: #f3f3f3;
|
|
48
|
+
z-index: 1;
|
|
49
|
+
border-left: 3px solid #009a61;
|
|
50
|
+
-webkit-transition: all .2s ease;
|
|
51
|
+
transition: all .2s ease;
|
|
52
|
+
color: #000
|
|
53
|
+
}
|
|
54
|
+
</style>
|
|
38
55
|
</head>
|
|
39
56
|
|
|
40
57
|
<body>
|
|
41
|
-
|
|
58
|
+
<% include header.ejs %>
|