forked from posthtml/posthtml.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
111 lines (105 loc) · 3.6 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>posthtml - HTML/XML processor</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="description" content="HTML/XML processor" />
<meta
name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"
/>
<link
rel="apple-touch-icon"
sizes="180x180"
href="assets/images/apple-touch-icon.png"
/>
<link
rel="icon"
type="image/png"
sizes="32x32"
href="assets/images/favicon-32x32.png"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="assets/images/favicon-16x16.png"
/>
<link rel="manifest" href="assets/images/site.webmanifest" />
<link
rel="stylesheet"
href="//cdn.jsdelivr.net/npm/docsify-changelog-plugin@latest/dist/style.css"
/>
<link
rel="stylesheet"
href="//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css"
/>
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/docsify@latest/themes/vue.css"
/>
<link rel="stylesheet" href="assets/style.css" />
<link
rel="stylesheet"
href="//cdn.jsdelivr.net/npm/docsify-dark-mode@latest/dist/style.css"
/>
</head>
<body>
<nav class="app-nav"></nav>
<div id="app">Loading ...</div>
<script>
window.$docsify = {
name: 'posthtml',
repo: 'https://github.com/posthtml/posthtml',
loadSidebar: true,
subMaxLevel: 2,
maxLevel: 4,
auto2top: true,
mergeNavbar: true,
search: 'auto',
auto2top: true,
coverpage: true,
alias: {
'/.*/_sidebar.md': '/_sidebar.md',
'.*?/cli':
'https://raw.githubusercontent.com/posthtml/posthtml-cli/master/readme.md'
},
changelog:
'https://raw.githubusercontent.com/posthtml/posthtml/master/CHANGELOG.md',
plugins: [
function(hook, vm) {
hook.beforeEach(function(html) {
if (/githubusercontent\.com/.test(vm.route.file)) {
url = vm.route.file
.replace('raw.githubusercontent.com', 'github.com')
.replace(/\/master/, '/blob/master')
} else {
url =
'https://github.com/posthtml/posthtml.org/blob/master/' +
vm.route.file
}
var editHtml = '[:memo: Edit Document](' + url + ')\n'
return editHtml + '\n' + html
})
},
function(hook, vm) {
hook.afterEach(function(html) {
return (
html +
'<p>Contact the collaborators <a href="mailto:[email protected]">[email protected]</a></p>'
)
})
}
]
}
</script>
<script src="https://cdn.jsdelivr.net/npm/docsify@latest/lib/docsify.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsify@latest/lib/plugins/search.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsify-changelog-plugin@latest/dist/index.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsify-dark-mode@latest/dist/index.js"></script>
<script src="//unpkg.com/docsify-pagination/dist/docsify-pagination.min.js"></script>
<script src="//unpkg.com/docsify/lib/plugins/zoom-image.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsify-copy-code@latest/dist/docsify-copy-code.min.js"></script>
</body>
</html>