-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
77 lines (70 loc) · 3.03 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="description" content="Description">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<link rel="stylesheet" href="//unpkg.com/docsify/lib/themes/vue.css">
</head>
<body>
<div id="app">Welcome to wonder land</div>
<script>
window.$docsify = {
name: '属于我自己的诗和夏天',
repo: 'https://github.com/ubuntulover/',
autoHeader:true,
loadSidebar:true,
loadNavbar:true,
subMaxLevel:2,
coverpage:true,
copyCode: {
buttonText:'复制剪贴板',
errorText:'Error',
successText:'复制成功'
},
disqus:'shortname',
formatUpdated: '{YYYY}-{MM}-{DD} {HH}:{mm}:{ss}',
// 插件
plugins: [
function(hook, vm) {
// 底部
hook.beforeEach(function(content) {
var url ='https://github.com/ubuntulover/leetcode-notebook/' + vm.route.file;
var editHtml = '> 🧐发现错误,想一起完善?[在 Github 编辑此页](' + url +')!\n'
var footer = [
'----',
'> Last modified at {docsify-updated}. by',
'> [Alex](https://leetcode-notebook.github.io/ubuntulover)©2020. Proudly published with [docsify](https://github.com/docsifyjs/docsify) and powered by love.',
].join("\n");
return editHtml +
"\n----\n"
+ content
+ "\n\n"
+ footer
})
},
]
}
</script>
<script src="//unpkg.com/docsify/lib/docsify.min.js"></script>
<script src="//unpkg.com/prismjs/components/prism-bash.min.js"></script>
<script src="//unpkg.com/prismjs/components/prism-python.min.js"></script>
<script src="//unpkg.com/prismjs/components/prism-swift.min.js"></script>
<script src="//unpkg.com/prismjs/components/prism-php.min.js"></script>
<script src="//unpkg.com/prismjs/components/prism-java.min.js"></script>
<script src="//unpkg.com/prismjs/components/prism-go.min.js"></script>
<script src="//unpkg.com/prismjs/components/prism-c.min.js"></script>
<script src="https://unpkg.com/docsify-copy-code@2"></script>
<!-- CDN files for docsify-katex -->
<script src="//cdn.jsdelivr.net/npm/docsify-katex@latest/dist/docsify-katex.js"></script>
<!-- or <script src="//cdn.jsdelivr.net/gh/upupming/docsify-katex@latest/dist/docsify-katex.js"></script> -->
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/katex@latest/dist/katex.min.css"/>
<!-- 支持mermaid -->
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.css">
<script src="//cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js"></script>
<!--评论-->
<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/disqus.min.js"></script>
</body>
</html>