-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
120 lines (119 loc) · 4.46 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Crypto More</title>
<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="icon" href="assets/favicon.ico" />
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify@4/lib/themes/vue.css"/>
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify-darklight-theme@latest/dist/style.min.css"/>
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/toc.css">
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.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 = {
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);
}
}
},
pagination: {
previousText: 'PREVIOUS',
nextText: 'NEXT',
crossChapter: true,
crossChapterText: true,
},
remoteMarkdown: {
tag: 'remoteMarkdownUrl',
},
name: '<img src="assets/cryptomore.png" data-origin="assets/cryptomore.png" width="100" class="sidebar-logo">',
repo: 'https://github.com/cryptomore/docs.git',
auto2top: true,
loadNavbar: true,
loadSidebar: true,
subMaxLevel: 1,
search: {
paths: "auto",
placeholder: 'Type to search',
depth: 6,
},
darklightTheme: {
siteFont : "PT Sans",
defaultTheme : 'dark',
dark: {
accent: '#42b983',
toogleBackground : '#ffffff',
background: '#091a28',
textColor: '#b4b4b4',
codeTextColor : '#ffffff',
codeBackgroundColor : '#0e2233',
borderColor : '#0d2538',
blockQuoteColor : '#858585',
highlightColor : '#d22778',
sidebarSublink : '#b4b4b4',
codeTypeColor : '#ffffff',
coverBackground : 'linear-gradient(to left bottom, hsl(118, 100%, 85%) 0%,hsl(181, 100%, 85%) 100%)',
toogleImage : 'url(https://cdn.jsdelivr.net/npm/docsify-darklight-theme@latest/icons/sun.svg)'
},
light: {
accent: '#42b983',
toogleBackground : '#091a28',
background: '#ffffff',
textColor: '#34495e',
codeTextColor : '#525252',
codeBackgroundColor : '#f8f8f8',
borderColor : 'rgba(0, 0, 0, 0.07)',
blockQuoteColor : '#858585',
highlightColor : '#d22778',
sidebarSublink : '#b4b4b4',
codeTypeColor : '#091a28',
coverBackground : 'linear-gradient(to left bottom, hsl(118, 100%, 85%) 0%,hsl(181, 100%, 85%) 100%)',
toogleImage : 'url(https://cdn.jsdelivr.net/npm/docsify-darklight-theme@latest/icons/moon.svg)'
}
},
footer: {
copy: '<span>© 2023</span>',
auth: 'Crypto More',
},
plugins: [
function editButton(hook, vm) {
// The date template pattern
$docsify.formatUpdated = '{YYYY}/{MM}/{DD} {HH}:{mm}';
hook.beforeEach(function (html) {
var url = "https://github.com/cryptomore/docs/blob/master/" + vm.route.file;
var editHtml = '[:memo: EDIT DOCUMENT](' + url + ')\n';
return (
html +
'\n----\n' +
'Last modified {docsify-updated} </br>' +
editHtml
);
});
},
],
}
</script>
<!-- Docsify v4 -->
<script src="//cdn.jsdelivr.net/npm/docsify@4"></script>
<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/search.min.js"></script>a
<script src="//cdn.jsdelivr.net/npm/docsify-copy-code/dist/docsify-copy-code.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/docsify-darklight-theme@latest/dist/index.min.js" type="text/javascript"></script>
<script src="//unpkg.com/docsify-footer-enh/dist/docsify-footer-enh.min.js"></script>
<script src="//unpkg.com/docsify-pagination/dist/docsify-pagination.min.js"></script>
<script src="https://unpkg.com/[email protected]/dist/toc.js"></script>
</body>
</html>