forked from cherishjia/xstarp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
96 lines (73 loc) · 2.76 KB
/
index.html
File metadata and controls
96 lines (73 loc) · 2.76 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>XStarp</title>
<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="vendor/vue.css">
<!--<link rel="stylesheet" href="//unpkg.com/docsify/themes/vue.css">-->
<!--<link rel="stylesheet" href="//unpkg.com/docsify/lib/themes/vue.css">-->
<!--<link rel="stylesheet" href="http://localhost:9200/app.css">-->
<!--<script src="http://localhost:9200/app.js"></script>-->
<!--<script src="./dist/vendor.js"></script>-->
<link rel="stylesheet" href="./dist/app.css">
<!--<script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>-->
<!--<script src="./dist/vendor/js/jquery.js"></script>-->
<script src="./dist/vendor/js/vendor.js"></script>
<style>
.markrun-source pre>code {white-space: pre-wrap;}
</style>
</head>
<body>
<div id="app"></div>
</body>
<script type="text/javascript" src="./vendor/markrun.min.js"></script>
<script src="./dist/app.js"></script>
<script src="./dist/vendor/wdatepicker/WdatePicker.js"></script>
<script>
window.$docsify = {
coverpage: './_cover.md',
basePath:'./doc/',
// loadNavbar: true,
loadSidebar:true,
name: 'XStrap',
// maxLevel: 4,
subMaxLevel: 3,
// auto2top: true,d
repo: '',
markdown: function(marked) {
markrun.setOptions({
template: '',
markdownParser: marked,
highlight: function (source, lang, data) {
return Prism.highlight(source, Prism.languages[lang] || Prism.languages.markup)
},
compile: {
js: function (source) {
// 如果需要编译则编译 source 后 eval
// eval 前必须增加 setTimeout
setTimeout(function () {
// if (!JSXTransformer) {
// eval(source)
// } else {
// source = JSXTransformer.transform(source).code
// }
eval(source)
}, 100);
return {
lang: 'js',
source: source,
code: ''
}
}
}
});
return markrun;
}
};
</script>
<script src="./vendor/docsify.js"></script>
<!--<script src="//unpkg.com/docsify"></script>-->
<!--<script src="//unpkg.com/docsify/lib/docsify.min.js"></script>-->
</html>