-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
75 lines (75 loc) · 2.27 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
<!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">
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/vuep/dist/vuep.css">
<style type="text/css">
nav {
float: right;
}
nav a {
margin-left: 20px;
}
body .pagination-item-title{
margin-top: 10px;
font-size: 1em;
}
body input {
height: 32px;
border: 1px solid #eee;
}
</style>
</head>
<body>
<nav>
<a href="#/">简体中文</a>
<a href="#/en/">English</a>
</nav>
<div id="app"></div>
<script>
window.$docsify = {
el: '#app',
name: 'useful javascript code',
repo: '',
loadSidebar: true,
subMaxLevel: 2,
auto2top: true,
search: 'auto',
autoHeader: true,
coverpage: true,
onlyCover: true,
executeScript: true,
formatUpdated: '{MM}/{DD} {HH}:{mm}',
// 统计字数
count:{
countable:true,
fontsize:'0.9em',
color:'rgb(90,90,90)',
language:'chinese',
},
pagination: {
previousText: 'prev',
nextText: 'next',
crossChapter: false,
crossChapterText: false,
},
}
</script>
<script src="//unpkg.com/docsify-count/dist/countable.js"></script>
<script src="//cdn.jsdelivr.net/npm/vue/dist/vue.min.js"></script>
<script src="//unpkg.com/docsify/lib/docsify.min.js"></script>
<script src="//unpkg.com/prismjs/components/prism-json.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/search.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/docsify-copy-code"></script>
<!-- 如果要评论的话 -->
<!-- <script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/disqus.min.js"></script> -->
<script src="//unpkg.com/docsify-pagination/dist/docsify-pagination.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/zoom-image.min.js"></script>
<script src="//unpkg.com/vuep"></script>
</body>
</html>