wikimd 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +9 -0
- data/.gitmodules +0 -0
- data/.rspec +2 -0
- data/.simplecov +10 -0
- data/.travis.yml +12 -0
- data/.yardopts +1 -0
- data/Gemfile +16 -0
- data/Guardfile +25 -0
- data/LICENSE.txt +21 -0
- data/README.md +67 -0
- data/Rakefile +17 -0
- data/_scss/_normalize.scss +424 -0
- data/_scss/_sidebar.scss +46 -0
- data/_scss/_topbar.scss +49 -0
- data/_scss/_tree_view.scss +55 -0
- data/_scss/octicons.scss +223 -0
- data/_scss/syntax.scss +209 -0
- data/_scss/wikimd.scss +136 -0
- data/bin/wikimd +43 -0
- data/config.ru +6 -0
- data/lib/wikimd.rb +3 -0
- data/lib/wikimd/app.rb +99 -0
- data/lib/wikimd/app/public/assets/css/wikimd.css +1 -0
- data/lib/wikimd/app/public/assets/font/octicons.eot +0 -0
- data/lib/wikimd/app/public/assets/font/octicons.svg +183 -0
- data/lib/wikimd/app/public/assets/font/octicons.ttf +0 -0
- data/lib/wikimd/app/public/assets/font/octicons.woff +0 -0
- data/lib/wikimd/app/public/assets/js/app.js +44 -0
- data/lib/wikimd/app/public/assets/js/jquery-2.1.4.min.js +4 -0
- data/lib/wikimd/app/public/favicon.ico +0 -0
- data/lib/wikimd/app/views/404.slim +2 -0
- data/lib/wikimd/app/views/file.slim +17 -0
- data/lib/wikimd/app/views/history.slim +17 -0
- data/lib/wikimd/app/views/layout.slim +38 -0
- data/lib/wikimd/app/views/tree.slim +8 -0
- data/lib/wikimd/error.rb +4 -0
- data/lib/wikimd/renderer.rb +32 -0
- data/lib/wikimd/repository.rb +140 -0
- data/lib/wikimd/version.rb +4 -0
- data/script/build +5 -0
- data/script/console +7 -0
- data/script/setup +5 -0
- data/wikimd.gemspec +36 -0
- metadata +276 -0
data/_scss/_sidebar.scss
ADDED
@@ -0,0 +1,46 @@
|
|
1
|
+
.sidebar {
|
2
|
+
width: $sidebar-width;
|
3
|
+
height: 100%;
|
4
|
+
box-sizing: border-box;
|
5
|
+
padding: 16px 8px 0 24px;
|
6
|
+
padding-top: $topbar-height + 16px;
|
7
|
+
float: left;
|
8
|
+
position: fixed;
|
9
|
+
overflow: auto;
|
10
|
+
|
11
|
+
& > ul {
|
12
|
+
list-style: none;
|
13
|
+
padding: 0 0 8px 0;
|
14
|
+
}
|
15
|
+
|
16
|
+
.title {
|
17
|
+
font-weight: bold;
|
18
|
+
text-transform: uppercase;
|
19
|
+
}
|
20
|
+
|
21
|
+
.tree {
|
22
|
+
overflow: auto;
|
23
|
+
}
|
24
|
+
|
25
|
+
footer {
|
26
|
+
margin-top: 120px;
|
27
|
+
text-align: center;
|
28
|
+
color: #ccc;
|
29
|
+
}
|
30
|
+
footer a,
|
31
|
+
footer a:visited {
|
32
|
+
font-weight: bold;
|
33
|
+
color: #aaa;
|
34
|
+
}
|
35
|
+
footer a:hover {
|
36
|
+
color: #888;
|
37
|
+
}
|
38
|
+
footer ul {
|
39
|
+
list-style: none;
|
40
|
+
padding: 0;
|
41
|
+
}
|
42
|
+
footer li {
|
43
|
+
display: inline-block;
|
44
|
+
margin-right: 32px;
|
45
|
+
}
|
46
|
+
}
|
data/_scss/_topbar.scss
ADDED
@@ -0,0 +1,49 @@
|
|
1
|
+
.topbar {
|
2
|
+
position: fixed;
|
3
|
+
top: 0;
|
4
|
+
right: 0;
|
5
|
+
left: 0;
|
6
|
+
z-index: 999;
|
7
|
+
height: $topbar-height;
|
8
|
+
background: $color-brand;
|
9
|
+
box-shadow:
|
10
|
+
0 0 4px rgba(0, 0, 0, .14),
|
11
|
+
0 4px 8px rgba(0, 0, 0, .28);
|
12
|
+
}
|
13
|
+
|
14
|
+
.search {
|
15
|
+
display: block;
|
16
|
+
margin-left: $sidebar-width;
|
17
|
+
margin-right: 30px;
|
18
|
+
height: $topbar-height;
|
19
|
+
}
|
20
|
+
|
21
|
+
#search {
|
22
|
+
height: 36px;
|
23
|
+
margin: 10px 0;
|
24
|
+
padding: 7px 8px;
|
25
|
+
line-height: 22px;
|
26
|
+
font-size: 22px;
|
27
|
+
width: 100%;
|
28
|
+
background: darken($color-brand, 5%);
|
29
|
+
border: none;
|
30
|
+
outline: none;
|
31
|
+
border-radius: 0;
|
32
|
+
box-shadow: none;
|
33
|
+
color: #fff;
|
34
|
+
}
|
35
|
+
|
36
|
+
#search::-webkit-input-placeholder { /* WebKit, Blink, Edge */
|
37
|
+
color: #fff;
|
38
|
+
}
|
39
|
+
#search:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
|
40
|
+
color: #fff;
|
41
|
+
opacity: 1;
|
42
|
+
}
|
43
|
+
#search::-moz-placeholder { /* Mozilla Firefox 19+ */
|
44
|
+
color: #fff;
|
45
|
+
opacity: 1;
|
46
|
+
}
|
47
|
+
#search:-ms-input-placeholder { /* Internet Explorer 10-11 */
|
48
|
+
color: #fff;
|
49
|
+
}
|
@@ -0,0 +1,55 @@
|
|
1
|
+
.tree-view {
|
2
|
+
padding-left: 0;
|
3
|
+
list-style: none;
|
4
|
+
|
5
|
+
.entry .tree-view {
|
6
|
+
padding-left: 16px;
|
7
|
+
}
|
8
|
+
|
9
|
+
.directory.collapsed > ul {
|
10
|
+
display: none;
|
11
|
+
}
|
12
|
+
|
13
|
+
@mixin icon {
|
14
|
+
@include octicon;
|
15
|
+
white-space: nowrap;
|
16
|
+
}
|
17
|
+
|
18
|
+
.entry {
|
19
|
+
white-space: nowrap;
|
20
|
+
}
|
21
|
+
.entry > a {
|
22
|
+
display: inline-block;
|
23
|
+
width: 100%;
|
24
|
+
font-weight: normal;
|
25
|
+
}
|
26
|
+
|
27
|
+
.entry:before {
|
28
|
+
@include icon;
|
29
|
+
width: 16px;
|
30
|
+
content: ' ';
|
31
|
+
}
|
32
|
+
.entry.collapsed:before {
|
33
|
+
content: '\f078';
|
34
|
+
}
|
35
|
+
.entry.expanded:before {
|
36
|
+
content: '\f0a3';
|
37
|
+
}
|
38
|
+
|
39
|
+
.entry.directory {
|
40
|
+
cursor: pointer;
|
41
|
+
}
|
42
|
+
|
43
|
+
|
44
|
+
.entry > :before {
|
45
|
+
@include icon;
|
46
|
+
width: 16px;
|
47
|
+
margin-right: 4px;
|
48
|
+
}
|
49
|
+
.entry > a:before {
|
50
|
+
content: '\f011'
|
51
|
+
}
|
52
|
+
.entry.directory > span:before {
|
53
|
+
content: '\f016';
|
54
|
+
}
|
55
|
+
}
|
data/_scss/octicons.scss
ADDED
@@ -0,0 +1,223 @@
|
|
1
|
+
$octicons-font-path: "." !default;
|
2
|
+
$octicons-version: "396334ee3da78f4302d25c758ae3e3ce5dc3c97d";
|
3
|
+
|
4
|
+
@font-face {
|
5
|
+
font-family: 'octicons';
|
6
|
+
src: url('#{$octicons-font-path}/octicons.eot?#iefix&v=#{$octicons-version}') format('embedded-opentype'),
|
7
|
+
url('#{$octicons-font-path}/octicons.woff?v=#{$octicons-version}') format('woff'),
|
8
|
+
url('#{$octicons-font-path}/octicons.ttf?v=#{$octicons-version}') format('truetype'),
|
9
|
+
url('#{$octicons-font-path}/octicons.svg?v=#{$octicons-version}#octicons') format('svg');
|
10
|
+
font-weight: normal;
|
11
|
+
font-style: normal;
|
12
|
+
}
|
13
|
+
|
14
|
+
// .octicon is optimized for 16px.
|
15
|
+
// .mega-octicon is optimized for 32px but can be used larger.
|
16
|
+
@mixin octicon {
|
17
|
+
font: normal normal normal 16px/1 octicons;
|
18
|
+
display: inline-block;
|
19
|
+
text-decoration: none;
|
20
|
+
text-rendering: auto;
|
21
|
+
-webkit-font-smoothing: antialiased;
|
22
|
+
-moz-osx-font-smoothing: grayscale;
|
23
|
+
-webkit-user-select: none;
|
24
|
+
-moz-user-select: none;
|
25
|
+
-ms-user-select: none;
|
26
|
+
user-select: none;
|
27
|
+
}
|
28
|
+
.octicon, .mega-octicon {
|
29
|
+
@include octicon;
|
30
|
+
}
|
31
|
+
.mega-octicon { font-size: 32px; }
|
32
|
+
|
33
|
+
.octicon-alert:before { content: '\f02d'} /* */
|
34
|
+
.octicon-arrow-down:before { content: '\f03f'} /* */
|
35
|
+
.octicon-arrow-left:before { content: '\f040'} /* */
|
36
|
+
.octicon-arrow-right:before { content: '\f03e'} /* */
|
37
|
+
.octicon-arrow-small-down:before { content: '\f0a0'} /* */
|
38
|
+
.octicon-arrow-small-left:before { content: '\f0a1'} /* */
|
39
|
+
.octicon-arrow-small-right:before { content: '\f071'} /* */
|
40
|
+
.octicon-arrow-small-up:before { content: '\f09f'} /* */
|
41
|
+
.octicon-arrow-up:before { content: '\f03d'} /* */
|
42
|
+
.octicon-microscope:before,
|
43
|
+
.octicon-beaker:before { content: '\f0dd'} /* */
|
44
|
+
.octicon-bell:before { content: '\f0de'} /* */
|
45
|
+
.octicon-book:before { content: '\f007'} /* */
|
46
|
+
.octicon-bookmark:before { content: '\f07b'} /* */
|
47
|
+
.octicon-briefcase:before { content: '\f0d3'} /* */
|
48
|
+
.octicon-broadcast:before { content: '\f048'} /* */
|
49
|
+
.octicon-browser:before { content: '\f0c5'} /* */
|
50
|
+
.octicon-bug:before { content: '\f091'} /* */
|
51
|
+
.octicon-calendar:before { content: '\f068'} /* */
|
52
|
+
.octicon-check:before { content: '\f03a'} /* */
|
53
|
+
.octicon-checklist:before { content: '\f076'} /* */
|
54
|
+
.octicon-chevron-down:before { content: '\f0a3'} /* */
|
55
|
+
.octicon-chevron-left:before { content: '\f0a4'} /* */
|
56
|
+
.octicon-chevron-right:before { content: '\f078'} /* */
|
57
|
+
.octicon-chevron-up:before { content: '\f0a2'} /* */
|
58
|
+
.octicon-circle-slash:before { content: '\f084'} /* */
|
59
|
+
.octicon-circuit-board:before { content: '\f0d6'} /* */
|
60
|
+
.octicon-clippy:before { content: '\f035'} /* */
|
61
|
+
.octicon-clock:before { content: '\f046'} /* */
|
62
|
+
.octicon-cloud-download:before { content: '\f00b'} /* */
|
63
|
+
.octicon-cloud-upload:before { content: '\f00c'} /* */
|
64
|
+
.octicon-code:before { content: '\f05f'} /* */
|
65
|
+
.octicon-color-mode:before { content: '\f065'} /* */
|
66
|
+
.octicon-comment-add:before,
|
67
|
+
.octicon-comment:before { content: '\f02b'} /* */
|
68
|
+
.octicon-comment-discussion:before { content: '\f04f'} /* */
|
69
|
+
.octicon-credit-card:before { content: '\f045'} /* */
|
70
|
+
.octicon-dash:before { content: '\f0ca'} /* */
|
71
|
+
.octicon-dashboard:before { content: '\f07d'} /* */
|
72
|
+
.octicon-database:before { content: '\f096'} /* */
|
73
|
+
.octicon-clone:before,
|
74
|
+
.octicon-desktop-download:before { content: '\f0dc'} /* */
|
75
|
+
.octicon-device-camera:before { content: '\f056'} /* */
|
76
|
+
.octicon-device-camera-video:before { content: '\f057'} /* */
|
77
|
+
.octicon-device-desktop:before { content: '\f27c'} /* */
|
78
|
+
.octicon-device-mobile:before { content: '\f038'} /* */
|
79
|
+
.octicon-diff:before { content: '\f04d'} /* */
|
80
|
+
.octicon-diff-added:before { content: '\f06b'} /* */
|
81
|
+
.octicon-diff-ignored:before { content: '\f099'} /* */
|
82
|
+
.octicon-diff-modified:before { content: '\f06d'} /* */
|
83
|
+
.octicon-diff-removed:before { content: '\f06c'} /* */
|
84
|
+
.octicon-diff-renamed:before { content: '\f06e'} /* */
|
85
|
+
.octicon-ellipsis:before { content: '\f09a'} /* */
|
86
|
+
.octicon-eye-unwatch:before,
|
87
|
+
.octicon-eye-watch:before,
|
88
|
+
.octicon-eye:before { content: '\f04e'} /* */
|
89
|
+
.octicon-file-binary:before { content: '\f094'} /* */
|
90
|
+
.octicon-file-code:before { content: '\f010'} /* */
|
91
|
+
.octicon-file-directory:before { content: '\f016'} /* */
|
92
|
+
.octicon-file-media:before { content: '\f012'} /* */
|
93
|
+
.octicon-file-pdf:before { content: '\f014'} /* */
|
94
|
+
.octicon-file-submodule:before { content: '\f017'} /* */
|
95
|
+
.octicon-file-symlink-directory:before { content: '\f0b1'} /* */
|
96
|
+
.octicon-file-symlink-file:before { content: '\f0b0'} /* */
|
97
|
+
.octicon-file-text:before { content: '\f011'} /* */
|
98
|
+
.octicon-file-zip:before { content: '\f013'} /* */
|
99
|
+
.octicon-flame:before { content: '\f0d2'} /* */
|
100
|
+
.octicon-fold:before { content: '\f0cc'} /* */
|
101
|
+
.octicon-gear:before { content: '\f02f'} /* */
|
102
|
+
.octicon-gift:before { content: '\f042'} /* */
|
103
|
+
.octicon-gist:before { content: '\f00e'} /* */
|
104
|
+
.octicon-gist-secret:before { content: '\f08c'} /* */
|
105
|
+
.octicon-git-branch-create:before,
|
106
|
+
.octicon-git-branch-delete:before,
|
107
|
+
.octicon-git-branch:before { content: '\f020'} /* */
|
108
|
+
.octicon-git-commit:before { content: '\f01f'} /* */
|
109
|
+
.octicon-git-compare:before { content: '\f0ac'} /* */
|
110
|
+
.octicon-git-merge:before { content: '\f023'} /* */
|
111
|
+
.octicon-git-pull-request-abandoned:before,
|
112
|
+
.octicon-git-pull-request:before { content: '\f009'} /* */
|
113
|
+
.octicon-globe:before { content: '\f0b6'} /* */
|
114
|
+
.octicon-graph:before { content: '\f043'} /* */
|
115
|
+
.octicon-heart:before { content: '\2665'} /* ♥ */
|
116
|
+
.octicon-history:before { content: '\f07e'} /* */
|
117
|
+
.octicon-home:before { content: '\f08d'} /* */
|
118
|
+
.octicon-horizontal-rule:before { content: '\f070'} /* */
|
119
|
+
.octicon-hubot:before { content: '\f09d'} /* */
|
120
|
+
.octicon-inbox:before { content: '\f0cf'} /* */
|
121
|
+
.octicon-info:before { content: '\f059'} /* */
|
122
|
+
.octicon-issue-closed:before { content: '\f028'} /* */
|
123
|
+
.octicon-issue-opened:before { content: '\f026'} /* */
|
124
|
+
.octicon-issue-reopened:before { content: '\f027'} /* */
|
125
|
+
.octicon-jersey:before { content: '\f019'} /* */
|
126
|
+
.octicon-key:before { content: '\f049'} /* */
|
127
|
+
.octicon-keyboard:before { content: '\f00d'} /* */
|
128
|
+
.octicon-law:before { content: '\f0d8'} /* */
|
129
|
+
.octicon-light-bulb:before { content: '\f000'} /* */
|
130
|
+
.octicon-link:before { content: '\f05c'} /* */
|
131
|
+
.octicon-link-external:before { content: '\f07f'} /* */
|
132
|
+
.octicon-list-ordered:before { content: '\f062'} /* */
|
133
|
+
.octicon-list-unordered:before { content: '\f061'} /* */
|
134
|
+
.octicon-location:before { content: '\f060'} /* */
|
135
|
+
.octicon-gist-private:before,
|
136
|
+
.octicon-mirror-private:before,
|
137
|
+
.octicon-git-fork-private:before,
|
138
|
+
.octicon-lock:before { content: '\f06a'} /* */
|
139
|
+
.octicon-logo-github:before { content: '\f092'} /* */
|
140
|
+
.octicon-mail:before { content: '\f03b'} /* */
|
141
|
+
.octicon-mail-read:before { content: '\f03c'} /* */
|
142
|
+
.octicon-mail-reply:before { content: '\f051'} /* */
|
143
|
+
.octicon-mark-github:before { content: '\f00a'} /* */
|
144
|
+
.octicon-markdown:before { content: '\f0c9'} /* */
|
145
|
+
.octicon-megaphone:before { content: '\f077'} /* */
|
146
|
+
.octicon-mention:before { content: '\f0be'} /* */
|
147
|
+
.octicon-milestone:before { content: '\f075'} /* */
|
148
|
+
.octicon-mirror-public:before,
|
149
|
+
.octicon-mirror:before { content: '\f024'} /* */
|
150
|
+
.octicon-mortar-board:before { content: '\f0d7'} /* */
|
151
|
+
.octicon-mute:before { content: '\f080'} /* */
|
152
|
+
.octicon-no-newline:before { content: '\f09c'} /* */
|
153
|
+
.octicon-octoface:before { content: '\f008'} /* */
|
154
|
+
.octicon-organization:before { content: '\f037'} /* */
|
155
|
+
.octicon-package:before { content: '\f0c4'} /* */
|
156
|
+
.octicon-paintcan:before { content: '\f0d1'} /* */
|
157
|
+
.octicon-pencil:before { content: '\f058'} /* */
|
158
|
+
.octicon-person-add:before,
|
159
|
+
.octicon-person-follow:before,
|
160
|
+
.octicon-person:before { content: '\f018'} /* */
|
161
|
+
.octicon-pin:before { content: '\f041'} /* */
|
162
|
+
.octicon-plug:before { content: '\f0d4'} /* */
|
163
|
+
.octicon-repo-create:before,
|
164
|
+
.octicon-gist-new:before,
|
165
|
+
.octicon-file-directory-create:before,
|
166
|
+
.octicon-file-add:before,
|
167
|
+
.octicon-plus:before { content: '\f05d'} /* */
|
168
|
+
.octicon-primitive-dot:before { content: '\f052'} /* */
|
169
|
+
.octicon-primitive-square:before { content: '\f053'} /* */
|
170
|
+
.octicon-pulse:before { content: '\f085'} /* */
|
171
|
+
.octicon-question:before { content: '\f02c'} /* */
|
172
|
+
.octicon-quote:before { content: '\f063'} /* */
|
173
|
+
.octicon-radio-tower:before { content: '\f030'} /* */
|
174
|
+
.octicon-repo-delete:before,
|
175
|
+
.octicon-repo:before { content: '\f001'} /* */
|
176
|
+
.octicon-repo-clone:before { content: '\f04c'} /* */
|
177
|
+
.octicon-repo-force-push:before { content: '\f04a'} /* */
|
178
|
+
.octicon-gist-fork:before,
|
179
|
+
.octicon-repo-forked:before { content: '\f002'} /* */
|
180
|
+
.octicon-repo-pull:before { content: '\f006'} /* */
|
181
|
+
.octicon-repo-push:before { content: '\f005'} /* */
|
182
|
+
.octicon-rocket:before { content: '\f033'} /* */
|
183
|
+
.octicon-rss:before { content: '\f034'} /* */
|
184
|
+
.octicon-ruby:before { content: '\f047'} /* */
|
185
|
+
.octicon-screen-full:before { content: '\f066'} /* */
|
186
|
+
.octicon-screen-normal:before { content: '\f067'} /* */
|
187
|
+
.octicon-search-save:before,
|
188
|
+
.octicon-search:before { content: '\f02e'} /* */
|
189
|
+
.octicon-server:before { content: '\f097'} /* */
|
190
|
+
.octicon-settings:before { content: '\f07c'} /* */
|
191
|
+
.octicon-shield:before { content: '\f0e1'} /* */
|
192
|
+
.octicon-log-in:before,
|
193
|
+
.octicon-sign-in:before { content: '\f036'} /* */
|
194
|
+
.octicon-log-out:before,
|
195
|
+
.octicon-sign-out:before { content: '\f032'} /* */
|
196
|
+
.octicon-squirrel:before { content: '\f0b2'} /* */
|
197
|
+
.octicon-star-add:before,
|
198
|
+
.octicon-star-delete:before,
|
199
|
+
.octicon-star:before { content: '\f02a'} /* */
|
200
|
+
.octicon-stop:before { content: '\f08f'} /* */
|
201
|
+
.octicon-repo-sync:before,
|
202
|
+
.octicon-sync:before { content: '\f087'} /* */
|
203
|
+
.octicon-tag-remove:before,
|
204
|
+
.octicon-tag-add:before,
|
205
|
+
.octicon-tag:before { content: '\f015'} /* */
|
206
|
+
.octicon-telescope:before { content: '\f088'} /* */
|
207
|
+
.octicon-terminal:before { content: '\f0c8'} /* */
|
208
|
+
.octicon-three-bars:before { content: '\f05e'} /* */
|
209
|
+
.octicon-thumbsdown:before { content: '\f0db'} /* */
|
210
|
+
.octicon-thumbsup:before { content: '\f0da'} /* */
|
211
|
+
.octicon-tools:before { content: '\f031'} /* */
|
212
|
+
.octicon-trashcan:before { content: '\f0d0'} /* */
|
213
|
+
.octicon-triangle-down:before { content: '\f05b'} /* */
|
214
|
+
.octicon-triangle-left:before { content: '\f044'} /* */
|
215
|
+
.octicon-triangle-right:before { content: '\f05a'} /* */
|
216
|
+
.octicon-triangle-up:before { content: '\f0aa'} /* */
|
217
|
+
.octicon-unfold:before { content: '\f039'} /* */
|
218
|
+
.octicon-unmute:before { content: '\f0ba'} /* */
|
219
|
+
.octicon-versions:before { content: '\f064'} /* */
|
220
|
+
.octicon-watch:before { content: '\f0e0'} /* */
|
221
|
+
.octicon-remove-close:before,
|
222
|
+
.octicon-x:before { content: '\f081'} /* */
|
223
|
+
.octicon-zap:before { content: '\26A1'} /* ⚡ */
|
data/_scss/syntax.scss
ADDED
@@ -0,0 +1,209 @@
|
|
1
|
+
.highlight table td { padding: 5px; }
|
2
|
+
.highlight table pre { margin: 0; }
|
3
|
+
.highlight .cm {
|
4
|
+
color: #999988;
|
5
|
+
font-style: italic;
|
6
|
+
}
|
7
|
+
.highlight .cp {
|
8
|
+
color: #999999;
|
9
|
+
font-weight: bold;
|
10
|
+
}
|
11
|
+
.highlight .c1 {
|
12
|
+
color: #999988;
|
13
|
+
font-style: italic;
|
14
|
+
}
|
15
|
+
.highlight .cs {
|
16
|
+
color: #999999;
|
17
|
+
font-weight: bold;
|
18
|
+
font-style: italic;
|
19
|
+
}
|
20
|
+
.highlight .c, .highlight .cd {
|
21
|
+
color: #999988;
|
22
|
+
font-style: italic;
|
23
|
+
}
|
24
|
+
.highlight .err {
|
25
|
+
color: #a61717;
|
26
|
+
background-color: #e3d2d2;
|
27
|
+
}
|
28
|
+
.highlight .gd {
|
29
|
+
color: #000000;
|
30
|
+
background-color: #ffdddd;
|
31
|
+
}
|
32
|
+
.highlight .ge {
|
33
|
+
color: #000000;
|
34
|
+
font-style: italic;
|
35
|
+
}
|
36
|
+
.highlight .gr {
|
37
|
+
color: #aa0000;
|
38
|
+
}
|
39
|
+
.highlight .gh {
|
40
|
+
color: #999999;
|
41
|
+
}
|
42
|
+
.highlight .gi {
|
43
|
+
color: #000000;
|
44
|
+
background-color: #ddffdd;
|
45
|
+
}
|
46
|
+
.highlight .go {
|
47
|
+
color: #888888;
|
48
|
+
}
|
49
|
+
.highlight .gp {
|
50
|
+
color: #555555;
|
51
|
+
}
|
52
|
+
.highlight .gs {
|
53
|
+
font-weight: bold;
|
54
|
+
}
|
55
|
+
.highlight .gu {
|
56
|
+
color: #aaaaaa;
|
57
|
+
}
|
58
|
+
.highlight .gt {
|
59
|
+
color: #aa0000;
|
60
|
+
}
|
61
|
+
.highlight .kc {
|
62
|
+
color: #000000;
|
63
|
+
font-weight: bold;
|
64
|
+
}
|
65
|
+
.highlight .kd {
|
66
|
+
color: #000000;
|
67
|
+
font-weight: bold;
|
68
|
+
}
|
69
|
+
.highlight .kn {
|
70
|
+
color: #000000;
|
71
|
+
font-weight: bold;
|
72
|
+
}
|
73
|
+
.highlight .kp {
|
74
|
+
color: #000000;
|
75
|
+
font-weight: bold;
|
76
|
+
}
|
77
|
+
.highlight .kr {
|
78
|
+
color: #000000;
|
79
|
+
font-weight: bold;
|
80
|
+
}
|
81
|
+
.highlight .kt {
|
82
|
+
color: #445588;
|
83
|
+
font-weight: bold;
|
84
|
+
}
|
85
|
+
.highlight .k, .highlight .kv {
|
86
|
+
color: #000000;
|
87
|
+
font-weight: bold;
|
88
|
+
}
|
89
|
+
.highlight .mf {
|
90
|
+
color: #009999;
|
91
|
+
}
|
92
|
+
.highlight .mh {
|
93
|
+
color: #009999;
|
94
|
+
}
|
95
|
+
.highlight .il {
|
96
|
+
color: #009999;
|
97
|
+
}
|
98
|
+
.highlight .mi {
|
99
|
+
color: #009999;
|
100
|
+
}
|
101
|
+
.highlight .mo {
|
102
|
+
color: #009999;
|
103
|
+
}
|
104
|
+
.highlight .m, .highlight .mb, .highlight .mx {
|
105
|
+
color: #009999;
|
106
|
+
}
|
107
|
+
.highlight .sb {
|
108
|
+
color: #d14;
|
109
|
+
}
|
110
|
+
.highlight .sc {
|
111
|
+
color: #d14;
|
112
|
+
}
|
113
|
+
.highlight .sd {
|
114
|
+
color: #d14;
|
115
|
+
}
|
116
|
+
.highlight .s2 {
|
117
|
+
color: #d14;
|
118
|
+
}
|
119
|
+
.highlight .se {
|
120
|
+
color: #d14;
|
121
|
+
}
|
122
|
+
.highlight .sh {
|
123
|
+
color: #d14;
|
124
|
+
}
|
125
|
+
.highlight .si {
|
126
|
+
color: #d14;
|
127
|
+
}
|
128
|
+
.highlight .sx {
|
129
|
+
color: #d14;
|
130
|
+
}
|
131
|
+
.highlight .sr {
|
132
|
+
color: #009926;
|
133
|
+
}
|
134
|
+
.highlight .s1 {
|
135
|
+
color: #d14;
|
136
|
+
}
|
137
|
+
.highlight .ss {
|
138
|
+
color: #990073;
|
139
|
+
}
|
140
|
+
.highlight .s {
|
141
|
+
color: #d14;
|
142
|
+
}
|
143
|
+
.highlight .na {
|
144
|
+
color: #008080;
|
145
|
+
}
|
146
|
+
.highlight .bp {
|
147
|
+
color: #999999;
|
148
|
+
}
|
149
|
+
.highlight .nb {
|
150
|
+
color: #0086B3;
|
151
|
+
}
|
152
|
+
.highlight .nc {
|
153
|
+
color: #445588;
|
154
|
+
font-weight: bold;
|
155
|
+
}
|
156
|
+
.highlight .no {
|
157
|
+
color: #008080;
|
158
|
+
}
|
159
|
+
.highlight .nd {
|
160
|
+
color: #3c5d5d;
|
161
|
+
font-weight: bold;
|
162
|
+
}
|
163
|
+
.highlight .ni {
|
164
|
+
color: #800080;
|
165
|
+
}
|
166
|
+
.highlight .ne {
|
167
|
+
color: #990000;
|
168
|
+
font-weight: bold;
|
169
|
+
}
|
170
|
+
.highlight .nf {
|
171
|
+
color: #990000;
|
172
|
+
font-weight: bold;
|
173
|
+
}
|
174
|
+
.highlight .nl {
|
175
|
+
color: #990000;
|
176
|
+
font-weight: bold;
|
177
|
+
}
|
178
|
+
.highlight .nn {
|
179
|
+
color: #555555;
|
180
|
+
}
|
181
|
+
.highlight .nt {
|
182
|
+
color: #000080;
|
183
|
+
}
|
184
|
+
.highlight .vc {
|
185
|
+
color: #008080;
|
186
|
+
}
|
187
|
+
.highlight .vg {
|
188
|
+
color: #008080;
|
189
|
+
}
|
190
|
+
.highlight .vi {
|
191
|
+
color: #008080;
|
192
|
+
}
|
193
|
+
.highlight .nv {
|
194
|
+
color: #008080;
|
195
|
+
}
|
196
|
+
.highlight .ow {
|
197
|
+
color: #000000;
|
198
|
+
font-weight: bold;
|
199
|
+
}
|
200
|
+
.highlight .o {
|
201
|
+
color: #000000;
|
202
|
+
font-weight: bold;
|
203
|
+
}
|
204
|
+
.highlight .w {
|
205
|
+
color: #bbbbbb;
|
206
|
+
}
|
207
|
+
.highlight {
|
208
|
+
background-color: #f8f8f8;
|
209
|
+
}
|