-
Notifications
You must be signed in to change notification settings - Fork 0
/
documentation.html
113 lines (98 loc) · 1.92 KB
/
documentation.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
<!doctype html>
<html>
<head>
<title>LuaSnip Documentation</title>
<meta charset="utf-8" />
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<script src='tool/asciidoctor.min.js'></script>
<script src='tool/prism.js'></script>
<script>
function generate(){
var asciidoctor = Asciidoctor();
var c = asciidoctor.convert(window.frames.documentation_source.document.body.lastChild.lastChild.data);
document.body.innerHTML += '<div class="asciidoctorrender">' + c + '</div>';
Prism.highlightAll();
}
</script>
<style type="text/css">
body{
margin:40px auto;
max-width:40em;
line-height:1.4em;
padding:0 10px;
color: #000000;
background-color:#ffffff;
}
code {
background-color:#eeeeee;
}
.listingblock {
background-color:#eeeeee;
margin: 0em;
padding: .1em 1em;
line-height:1em;
border-radius: .3em;
display: inline-block;
}
/* PRISM */
.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
color: #838383;
}
.token.punctuation {
color: #586e75; /* base01 */
}
.namespace {
opacity: .7;
}
.token.property,
.token.tag,
.token.boolean,
.token.number,
.token.constant,
.token.symbol,
.token.deleted,
.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.url,
.token.inserted {
color: #0061b4;
}
.token.entity {
color: #657b83; /* base00 */
}
.token.atrule,
.token.attr-value,
.token.keyword {
color: #858500;
}
.token.function {
color: #378401;
}
.token.regex,
.token.important,
.token.variable {
color: #cb4b16; /* orange */
}
.token.important,
.token.bold {
font-weight: bold;
}
.token.italic {
font-style: italic;
}
.token.entity {
cursor: help;
}
</style>
</head>
<body onload="generate()">
</body>
<iframe name='documentation_source' src='documentation.adoc' style="display:none"></iframe>
</html>