-
Notifications
You must be signed in to change notification settings - Fork 311
/
index.html
69 lines (58 loc) · 2.24 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
<!DOCTYPE html>
<html data-bs-theme="light" class="netnrmd-light">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="keywords" content="KMS,netnr,NET牛人" />
<meta name="description" content="KMS,netnr,NET牛人">
<title>KMS</title>
<link rel='shortcut icon' href='favicon.ico' type='image/x-icon' />
</head>
<body style="margin:0;padding:0;">
<!--主题响应-->
<script>
if (document.cookie.includes(".theme=dark")) {
Object.assign(document.body.style, { backgroundColor: '#212529', color: '#adb5bd' });
let domHtml = document.documentElement;
domHtml.dataset.bsTheme = "dark";
domHtml.className = domHtml.className.replace('light', 'dark');
}
</script>
<!--Menu-->
<nav class="app-nav" style="display:none;">
<ul><li><a class="flag-theme" title="Theme"></a></li></ul>
</nav>
<!--Main-->
<div id="app" style="margin:1em;font-size:1.2em;opacity:.8;">Loading ...</div>
<link rel="stylesheet" href="https://zme.ink/static/docsify-better/docsify-better.css?2023" />
<script>
window.$docsify = {
repo: 'netnr',
noEmoji: true,
auto2top: true,
relativePath: true,
routerMode: "history",
markdown: {
renderer: {
code: function (str, lang) {
let htm = hljs.getLanguage(lang)
? hljs.highlight(str, { language: lang }).value
: hljs.highlightAuto(str).value;
return `<pre><code>${htm}</code></pre>`;
}
}
},
plugins: [
function (hook) {
// 每次开始解析 Markdown 内容时调用
hook.beforeEach(function (content) {
var domMain = document.getElementById("main");
domMain.classList.add("markdown-body");
return content;
});
}
]
};
</script>
<script src="https://zme.ink/static/docsify-better/docsify-better.js?1.0.2"></script>
</body>
</html>