markdown_views 2.4.1 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +9 -8
- data/README.md +17 -11
- data/Rakefile +5 -5
- data/app/assets/stylesheets/rouge.base16.dark.css +43 -30
- data/app/assets/stylesheets/rouge.base16.light.css +42 -29
- data/app/assets/stylesheets/rouge.base16.monokai.dark.css +16 -3
- data/app/assets/stylesheets/rouge.base16.monokai.light.css +16 -3
- data/app/assets/stylesheets/rouge.base16.solarized.dark.css +16 -3
- data/app/assets/stylesheets/rouge.base16.solarized.light.css +16 -3
- data/app/assets/stylesheets/rouge.bw.css +70 -0
- data/app/assets/stylesheets/rouge.colorful.css +12 -4
- data/app/assets/stylesheets/rouge.github.dark.css +116 -0
- data/app/assets/stylesheets/rouge.github.light.css +116 -0
- data/app/assets/stylesheets/rouge.gruvbox.dark.css +16 -3
- data/app/assets/stylesheets/rouge.gruvbox.light.css +16 -3
- data/app/assets/stylesheets/rouge.igorpro.css +15 -2
- data/app/assets/stylesheets/rouge.molokai.css +8 -5
- data/app/assets/stylesheets/rouge.monokai.css +12 -5
- data/app/assets/stylesheets/rouge.monokai.sublime.css +23 -7
- data/app/assets/stylesheets/rouge.pastie.css +13 -5
- data/app/assets/stylesheets/rouge.thankful_eyes.css +13 -6
- data/app/assets/stylesheets/rouge.tulip.css +13 -6
- data/lib/markdown_views/config.rb +23 -7
- data/lib/markdown_views/handler.rb +0 -21
- data/lib/markdown_views/renderer.rb +24 -7
- data/lib/markdown_views/version.rb +1 -1
- data/lib/markdown_views.rb +2 -5
- data/markdown_views.gemspec +6 -3
- data/test/config_test.rb +69 -0
- data/test/render_test.rb +50 -0
- data/test/strip_comments_test.rb +0 -6
- data/test/test_helper.rb +16 -0
- metadata +33 -25
- data/app/assets/stylesheets/rouge.github.css +0 -209
@@ -1,209 +0,0 @@
|
|
1
|
-
.rouge-highlight table td { padding: 5px; }
|
2
|
-
.rouge-highlight table pre { margin: 0; }
|
3
|
-
.rouge-highlight .cm {
|
4
|
-
color: #999988;
|
5
|
-
font-style: italic;
|
6
|
-
}
|
7
|
-
.rouge-highlight .cp {
|
8
|
-
color: #999999;
|
9
|
-
font-weight: bold;
|
10
|
-
}
|
11
|
-
.rouge-highlight .c1 {
|
12
|
-
color: #999988;
|
13
|
-
font-style: italic;
|
14
|
-
}
|
15
|
-
.rouge-highlight .cs {
|
16
|
-
color: #999999;
|
17
|
-
font-weight: bold;
|
18
|
-
font-style: italic;
|
19
|
-
}
|
20
|
-
.rouge-highlight .c, .rouge-highlight .cd {
|
21
|
-
color: #999988;
|
22
|
-
font-style: italic;
|
23
|
-
}
|
24
|
-
.rouge-highlight .err {
|
25
|
-
color: #a61717;
|
26
|
-
background-color: #e3d2d2;
|
27
|
-
}
|
28
|
-
.rouge-highlight .gd {
|
29
|
-
color: #000000;
|
30
|
-
background-color: #ffdddd;
|
31
|
-
}
|
32
|
-
.rouge-highlight .ge {
|
33
|
-
color: #000000;
|
34
|
-
font-style: italic;
|
35
|
-
}
|
36
|
-
.rouge-highlight .gr {
|
37
|
-
color: #aa0000;
|
38
|
-
}
|
39
|
-
.rouge-highlight .gh {
|
40
|
-
color: #999999;
|
41
|
-
}
|
42
|
-
.rouge-highlight .gi {
|
43
|
-
color: #000000;
|
44
|
-
background-color: #ddffdd;
|
45
|
-
}
|
46
|
-
.rouge-highlight .go {
|
47
|
-
color: #888888;
|
48
|
-
}
|
49
|
-
.rouge-highlight .gp {
|
50
|
-
color: #555555;
|
51
|
-
}
|
52
|
-
.rouge-highlight .gs {
|
53
|
-
font-weight: bold;
|
54
|
-
}
|
55
|
-
.rouge-highlight .gu {
|
56
|
-
color: #aaaaaa;
|
57
|
-
}
|
58
|
-
.rouge-highlight .gt {
|
59
|
-
color: #aa0000;
|
60
|
-
}
|
61
|
-
.rouge-highlight .kc {
|
62
|
-
color: #000000;
|
63
|
-
font-weight: bold;
|
64
|
-
}
|
65
|
-
.rouge-highlight .kd {
|
66
|
-
color: #000000;
|
67
|
-
font-weight: bold;
|
68
|
-
}
|
69
|
-
.rouge-highlight .kn {
|
70
|
-
color: #000000;
|
71
|
-
font-weight: bold;
|
72
|
-
}
|
73
|
-
.rouge-highlight .kp {
|
74
|
-
color: #000000;
|
75
|
-
font-weight: bold;
|
76
|
-
}
|
77
|
-
.rouge-highlight .kr {
|
78
|
-
color: #000000;
|
79
|
-
font-weight: bold;
|
80
|
-
}
|
81
|
-
.rouge-highlight .kt {
|
82
|
-
color: #445588;
|
83
|
-
font-weight: bold;
|
84
|
-
}
|
85
|
-
.rouge-highlight .k, .rouge-highlight .kv {
|
86
|
-
color: #000000;
|
87
|
-
font-weight: bold;
|
88
|
-
}
|
89
|
-
.rouge-highlight .mf {
|
90
|
-
color: #009999;
|
91
|
-
}
|
92
|
-
.rouge-highlight .mh {
|
93
|
-
color: #009999;
|
94
|
-
}
|
95
|
-
.rouge-highlight .il {
|
96
|
-
color: #009999;
|
97
|
-
}
|
98
|
-
.rouge-highlight .mi {
|
99
|
-
color: #009999;
|
100
|
-
}
|
101
|
-
.rouge-highlight .mo {
|
102
|
-
color: #009999;
|
103
|
-
}
|
104
|
-
.rouge-highlight .m, .rouge-highlight .mb, .rouge-highlight .mx {
|
105
|
-
color: #009999;
|
106
|
-
}
|
107
|
-
.rouge-highlight .sb {
|
108
|
-
color: #d14;
|
109
|
-
}
|
110
|
-
.rouge-highlight .sc {
|
111
|
-
color: #d14;
|
112
|
-
}
|
113
|
-
.rouge-highlight .sd {
|
114
|
-
color: #d14;
|
115
|
-
}
|
116
|
-
.rouge-highlight .s2 {
|
117
|
-
color: #d14;
|
118
|
-
}
|
119
|
-
.rouge-highlight .se {
|
120
|
-
color: #d14;
|
121
|
-
}
|
122
|
-
.rouge-highlight .sh {
|
123
|
-
color: #d14;
|
124
|
-
}
|
125
|
-
.rouge-highlight .si {
|
126
|
-
color: #d14;
|
127
|
-
}
|
128
|
-
.rouge-highlight .sx {
|
129
|
-
color: #d14;
|
130
|
-
}
|
131
|
-
.rouge-highlight .sr {
|
132
|
-
color: #009926;
|
133
|
-
}
|
134
|
-
.rouge-highlight .s1 {
|
135
|
-
color: #d14;
|
136
|
-
}
|
137
|
-
.rouge-highlight .ss {
|
138
|
-
color: #990073;
|
139
|
-
}
|
140
|
-
.rouge-highlight .s {
|
141
|
-
color: #d14;
|
142
|
-
}
|
143
|
-
.rouge-highlight .na {
|
144
|
-
color: #008080;
|
145
|
-
}
|
146
|
-
.rouge-highlight .bp {
|
147
|
-
color: #999999;
|
148
|
-
}
|
149
|
-
.rouge-highlight .nb {
|
150
|
-
color: #0086B3;
|
151
|
-
}
|
152
|
-
.rouge-highlight .nc {
|
153
|
-
color: #445588;
|
154
|
-
font-weight: bold;
|
155
|
-
}
|
156
|
-
.rouge-highlight .no {
|
157
|
-
color: #008080;
|
158
|
-
}
|
159
|
-
.rouge-highlight .nd {
|
160
|
-
color: #3c5d5d;
|
161
|
-
font-weight: bold;
|
162
|
-
}
|
163
|
-
.rouge-highlight .ni {
|
164
|
-
color: #800080;
|
165
|
-
}
|
166
|
-
.rouge-highlight .ne {
|
167
|
-
color: #990000;
|
168
|
-
font-weight: bold;
|
169
|
-
}
|
170
|
-
.rouge-highlight .nf {
|
171
|
-
color: #990000;
|
172
|
-
font-weight: bold;
|
173
|
-
}
|
174
|
-
.rouge-highlight .nl {
|
175
|
-
color: #990000;
|
176
|
-
font-weight: bold;
|
177
|
-
}
|
178
|
-
.rouge-highlight .nn {
|
179
|
-
color: #555555;
|
180
|
-
}
|
181
|
-
.rouge-highlight .nt {
|
182
|
-
color: #000080;
|
183
|
-
}
|
184
|
-
.rouge-highlight .vc {
|
185
|
-
color: #008080;
|
186
|
-
}
|
187
|
-
.rouge-highlight .vg {
|
188
|
-
color: #008080;
|
189
|
-
}
|
190
|
-
.rouge-highlight .vi {
|
191
|
-
color: #008080;
|
192
|
-
}
|
193
|
-
.rouge-highlight .nv {
|
194
|
-
color: #008080;
|
195
|
-
}
|
196
|
-
.rouge-highlight .ow {
|
197
|
-
color: #000000;
|
198
|
-
font-weight: bold;
|
199
|
-
}
|
200
|
-
.rouge-highlight .o {
|
201
|
-
color: #000000;
|
202
|
-
font-weight: bold;
|
203
|
-
}
|
204
|
-
.rouge-highlight .w {
|
205
|
-
color: #bbbbbb;
|
206
|
-
}
|
207
|
-
.rouge-highlight {
|
208
|
-
background-color: #f8f8f8;
|
209
|
-
}
|