wbzyl-rack-codehighlighter 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +4 -0
- data/LICENSE +0 -0
- data/README.markdown +301 -0
- data/Rakefile +39 -0
- data/TODO +22 -0
- data/VERSION.yml +4 -0
- data/examples/app.rb +21 -0
- data/examples/config.ru +13 -0
- data/examples/public/javascripts/lang-css.js +2 -0
- data/examples/public/javascripts/lang-hs.js +2 -0
- data/examples/public/javascripts/lang-lisp.js +3 -0
- data/examples/public/javascripts/lang-lua.js +2 -0
- data/examples/public/javascripts/lang-ml.js +2 -0
- data/examples/public/javascripts/lang-proto.js +1 -0
- data/examples/public/javascripts/lang-sql.js +2 -0
- data/examples/public/javascripts/lang-vb.js +2 -0
- data/examples/public/javascripts/lang-wiki.js +1 -0
- data/examples/public/javascripts/prettify.js +31 -0
- data/examples/public/stylesheets/application.css +29 -0
- data/examples/public/stylesheets/coderay.css +126 -0
- data/examples/public/stylesheets/prettify.css +44 -0
- data/examples/public/stylesheets/syntax.css +79 -0
- data/examples/public/stylesheets/uv.css +1022 -0
- data/examples/public/stylesheets/uv/amy.css +147 -0
- data/examples/public/stylesheets/uv/blackboard.css +88 -0
- data/examples/public/stylesheets/uv/cobalt.css +149 -0
- data/examples/public/stylesheets/uv/dawn.css +121 -0
- data/examples/public/stylesheets/uv/espresso_libre.css +109 -0
- data/examples/public/stylesheets/uv/sunburst.css +180 -0
- data/examples/public/stylesheets/uv/twilight.css +137 -0
- data/examples/public/stylesheets/uv/zenburnesque.css +91 -0
- data/examples/views/index.rdiscount +75 -0
- data/examples/views/layout.rdiscount +36 -0
- metadata +95 -0
@@ -0,0 +1,109 @@
|
|
1
|
+
pre.espresso_libre .EmbeddedSource {
|
2
|
+
background-color: #CE9065;
|
3
|
+
}
|
4
|
+
pre.espresso_libre .LibraryObject {
|
5
|
+
font-weight: bold;
|
6
|
+
color: #6D79DE;
|
7
|
+
}
|
8
|
+
pre.espresso_libre .Section {
|
9
|
+
font-style: italic;
|
10
|
+
}
|
11
|
+
pre.espresso_libre .FunctionArgumentAndResultTypes {
|
12
|
+
color: #8B8E9C;
|
13
|
+
}
|
14
|
+
pre.espresso_libre .TypeName {
|
15
|
+
text-decoration: underline;
|
16
|
+
}
|
17
|
+
pre.espresso_libre .Number {
|
18
|
+
color: #44AA43;
|
19
|
+
}
|
20
|
+
pre.espresso_libre {
|
21
|
+
background-color: #2A211C;
|
22
|
+
color: #BDAE9D;
|
23
|
+
}
|
24
|
+
pre.espresso_libre .MarkupTagAttribute {
|
25
|
+
font-style: italic;
|
26
|
+
}
|
27
|
+
pre.espresso_libre .LibraryVariable {
|
28
|
+
font-weight: bold;
|
29
|
+
color: #2F5FE0;
|
30
|
+
}
|
31
|
+
pre.espresso_libre .line-numbers {
|
32
|
+
background-color: #C3DCFF;
|
33
|
+
color: #000000;
|
34
|
+
}
|
35
|
+
pre.espresso_libre .FunctionParameter {
|
36
|
+
font-style: italic;
|
37
|
+
}
|
38
|
+
pre.espresso_libre .MarkupTag {
|
39
|
+
color: #43A8ED;
|
40
|
+
}
|
41
|
+
pre.espresso_libre .JsOperator {
|
42
|
+
color: #687687;
|
43
|
+
}
|
44
|
+
pre.espresso_libre .InheritedClassName {
|
45
|
+
font-style: italic;
|
46
|
+
}
|
47
|
+
pre.espresso_libre .StringInterpolation {
|
48
|
+
color: #2FE420;
|
49
|
+
}
|
50
|
+
pre.espresso_libre .MarkupNameOfTag {
|
51
|
+
font-weight: bold;
|
52
|
+
}
|
53
|
+
pre.espresso_libre .InvalidTrailingWhitespace {
|
54
|
+
background-color: #FFD0D0;
|
55
|
+
}
|
56
|
+
pre.espresso_libre .LibraryConstant {
|
57
|
+
font-weight: bold;
|
58
|
+
color: #00AF0E;
|
59
|
+
}
|
60
|
+
pre.espresso_libre .MarkupXmlDeclaration {
|
61
|
+
color: #8F7E65;
|
62
|
+
}
|
63
|
+
pre.espresso_libre .PreprocessorDirective {
|
64
|
+
font-weight: bold;
|
65
|
+
color: #9AFF87;
|
66
|
+
}
|
67
|
+
pre.espresso_libre .BuiltInConstant {
|
68
|
+
font-weight: bold;
|
69
|
+
color: #585CF6;
|
70
|
+
}
|
71
|
+
pre.espresso_libre .MarkupDtd {
|
72
|
+
font-style: italic;
|
73
|
+
}
|
74
|
+
pre.espresso_libre .Invalid {
|
75
|
+
background-color: #990000;
|
76
|
+
color: #FFFFFF;
|
77
|
+
}
|
78
|
+
pre.espresso_libre .LibraryFunction {
|
79
|
+
font-weight: bold;
|
80
|
+
color: #7290D9;
|
81
|
+
}
|
82
|
+
pre.espresso_libre .String {
|
83
|
+
color: #049B0A;
|
84
|
+
}
|
85
|
+
pre.espresso_libre .UserDefinedConstant {
|
86
|
+
font-weight: bold;
|
87
|
+
color: #C5656B;
|
88
|
+
}
|
89
|
+
pre.espresso_libre .Keyword {
|
90
|
+
font-weight: bold;
|
91
|
+
color: #43A8ED;
|
92
|
+
}
|
93
|
+
pre.espresso_libre .MarkupDoctype {
|
94
|
+
color: #888888;
|
95
|
+
}
|
96
|
+
pre.espresso_libre .FunctionName {
|
97
|
+
font-weight: bold;
|
98
|
+
color: #FF9358;
|
99
|
+
}
|
100
|
+
pre.espresso_libre .PreprocessorLine {
|
101
|
+
color: #1A921C;
|
102
|
+
}
|
103
|
+
pre.espresso_libre .Variable {
|
104
|
+
color: #318495;
|
105
|
+
}
|
106
|
+
pre.espresso_libre .Comment {
|
107
|
+
color: #0066FF;
|
108
|
+
font-style: italic;
|
109
|
+
}
|
@@ -0,0 +1,180 @@
|
|
1
|
+
pre.sunburst .DiffInserted {
|
2
|
+
background-color: #253B22;
|
3
|
+
color: #F8F8F8;
|
4
|
+
}
|
5
|
+
pre.sunburst .DiffHeader {
|
6
|
+
background-color: #0E2231;
|
7
|
+
color: #F8F8F8;
|
8
|
+
font-style: italic;
|
9
|
+
}
|
10
|
+
pre.sunburst .CssPropertyValue {
|
11
|
+
color: #F9EE98;
|
12
|
+
}
|
13
|
+
pre.sunburst .CCCPreprocessorDirective {
|
14
|
+
color: #AFC4DB;
|
15
|
+
}
|
16
|
+
pre.sunburst .Constant {
|
17
|
+
color: #3387CC;
|
18
|
+
}
|
19
|
+
pre.sunburst .DiffChanged {
|
20
|
+
background-color: #4A410D;
|
21
|
+
color: #F8F8F8;
|
22
|
+
}
|
23
|
+
pre.sunburst .Support {
|
24
|
+
color: #9B859D;
|
25
|
+
}
|
26
|
+
pre.sunburst .MarkupList {
|
27
|
+
color: #E1D4B9;
|
28
|
+
}
|
29
|
+
pre.sunburst .CssConstructorArgument {
|
30
|
+
color: #8F9D6A;
|
31
|
+
}
|
32
|
+
pre.sunburst .Storage {
|
33
|
+
color: #99CF50;
|
34
|
+
}
|
35
|
+
pre.sunburst .line-numbers {
|
36
|
+
background-color: #DDF0FF;
|
37
|
+
color: #000000;
|
38
|
+
}
|
39
|
+
pre.sunburst .CssClass {
|
40
|
+
color: #9B703F;
|
41
|
+
}
|
42
|
+
pre.sunburst .StringConstant {
|
43
|
+
color: #DDF2A4;
|
44
|
+
}
|
45
|
+
pre.sunburst .MarkupSeparator {
|
46
|
+
background-color: #242424;
|
47
|
+
color: #60A633;
|
48
|
+
}
|
49
|
+
pre.sunburst .MarkupUnderline {
|
50
|
+
text-decoration: underline;
|
51
|
+
color: #E18964;
|
52
|
+
}
|
53
|
+
pre.sunburst .CssAtRule {
|
54
|
+
color: #8693A5;
|
55
|
+
}
|
56
|
+
pre.sunburst .MetaTagInline {
|
57
|
+
color: #E0C589;
|
58
|
+
}
|
59
|
+
pre.sunburst .JEntityNameType {
|
60
|
+
text-decoration: underline;
|
61
|
+
}
|
62
|
+
pre.sunburst .LogEntryError {
|
63
|
+
background-color: #751012;
|
64
|
+
}
|
65
|
+
pre.sunburst .MarkupHeading {
|
66
|
+
background-color: #632D04;
|
67
|
+
color: #FEDCC5;
|
68
|
+
}
|
69
|
+
pre.sunburst .CssTagName {
|
70
|
+
color: #CDA869;
|
71
|
+
}
|
72
|
+
pre.sunburst .SupportConstant {
|
73
|
+
color: #CF6A4C;
|
74
|
+
}
|
75
|
+
pre.sunburst .MarkupQuote {
|
76
|
+
background-color: #ECD091;
|
77
|
+
color: #E1D4B9;
|
78
|
+
font-style: italic;
|
79
|
+
}
|
80
|
+
pre.sunburst .DiffDeleted {
|
81
|
+
background-color: #420E09;
|
82
|
+
color: #F8F8F8;
|
83
|
+
}
|
84
|
+
pre.sunburst .CCCPreprocessorLine {
|
85
|
+
color: #8996A8;
|
86
|
+
}
|
87
|
+
pre.sunburst .StringRegexpSpecial {
|
88
|
+
color: #CF7D34;
|
89
|
+
}
|
90
|
+
pre.sunburst .EmbeddedSourceBright {
|
91
|
+
background-color: #ABADB4;
|
92
|
+
}
|
93
|
+
pre.sunburst .InvalidIllegal {
|
94
|
+
background-color: #150B15;
|
95
|
+
color: #FD5FF1;
|
96
|
+
}
|
97
|
+
pre.sunburst .MarkupRaw {
|
98
|
+
background-color: #ABADB4;
|
99
|
+
color: #578BB3;
|
100
|
+
}
|
101
|
+
pre.sunburst .SupportFunction {
|
102
|
+
color: #DAD085;
|
103
|
+
}
|
104
|
+
pre.sunburst .CssAdditionalConstants {
|
105
|
+
color: #DD7B3B;
|
106
|
+
}
|
107
|
+
pre.sunburst .MetaTagAll {
|
108
|
+
color: #89BDFF;
|
109
|
+
}
|
110
|
+
pre.sunburst .StringRegexp {
|
111
|
+
color: #E9C062;
|
112
|
+
}
|
113
|
+
pre.sunburst .StringEmbeddedSource {
|
114
|
+
color: #DAEFA3;
|
115
|
+
}
|
116
|
+
pre.sunburst .EntityInheritedClass {
|
117
|
+
color: #9B5C2E;
|
118
|
+
font-style: italic;
|
119
|
+
}
|
120
|
+
pre.sunburst .MarkupComment {
|
121
|
+
color: #F67B37;
|
122
|
+
font-style: italic;
|
123
|
+
}
|
124
|
+
pre.sunburst .MarkupBold {
|
125
|
+
font-weight: bold;
|
126
|
+
color: #E9C062;
|
127
|
+
}
|
128
|
+
pre.sunburst .CssId {
|
129
|
+
color: #8B98AB;
|
130
|
+
}
|
131
|
+
pre.sunburst .CssPseudoClass {
|
132
|
+
color: #8F9D6A;
|
133
|
+
}
|
134
|
+
pre.sunburst .JCast {
|
135
|
+
color: #676767;
|
136
|
+
font-style: italic;
|
137
|
+
}
|
138
|
+
pre.sunburst .StringVariable {
|
139
|
+
color: #8A9A95;
|
140
|
+
}
|
141
|
+
pre.sunburst .String {
|
142
|
+
color: #65B042;
|
143
|
+
}
|
144
|
+
pre.sunburst .Keyword {
|
145
|
+
color: #E28964;
|
146
|
+
}
|
147
|
+
pre.sunburst {
|
148
|
+
background-color: #000000;
|
149
|
+
color: #F8F8F8;
|
150
|
+
}
|
151
|
+
pre.sunburst .LogEntry {
|
152
|
+
background-color: #C7C7C7;
|
153
|
+
}
|
154
|
+
pre.sunburst .MarkupItalic {
|
155
|
+
color: #E9C062;
|
156
|
+
font-style: italic;
|
157
|
+
}
|
158
|
+
pre.sunburst .CssPropertyName {
|
159
|
+
color: #C5AF75;
|
160
|
+
}
|
161
|
+
pre.sunburst .Namespaces {
|
162
|
+
color: #E18964;
|
163
|
+
}
|
164
|
+
pre.sunburst .DoctypeXmlProcessing {
|
165
|
+
color: #494949;
|
166
|
+
}
|
167
|
+
pre.sunburst .InvalidDeprecated {
|
168
|
+
color: #FD5FF1;
|
169
|
+
font-style: italic;
|
170
|
+
}
|
171
|
+
pre.sunburst .Variable {
|
172
|
+
color: #3E87E3;
|
173
|
+
}
|
174
|
+
pre.sunburst .Entity {
|
175
|
+
color: #89BDFF;
|
176
|
+
}
|
177
|
+
pre.sunburst .Comment {
|
178
|
+
color: #AEAEAE;
|
179
|
+
font-style: italic;
|
180
|
+
}
|
@@ -0,0 +1,137 @@
|
|
1
|
+
pre.twilight .DiffInserted {
|
2
|
+
background-color: #253B22;
|
3
|
+
color: #F8F8F8;
|
4
|
+
}
|
5
|
+
pre.twilight .DiffHeader {
|
6
|
+
background-color: #0E2231;
|
7
|
+
color: #F8F8F8;
|
8
|
+
font-style: italic;
|
9
|
+
}
|
10
|
+
pre.twilight .CssPropertyValue {
|
11
|
+
color: #F9EE98;
|
12
|
+
}
|
13
|
+
pre.twilight .CCCPreprocessorDirective {
|
14
|
+
color: #AFC4DB;
|
15
|
+
}
|
16
|
+
pre.twilight .Constant {
|
17
|
+
color: #CF6A4C;
|
18
|
+
}
|
19
|
+
pre.twilight .DiffChanged {
|
20
|
+
background-color: #4A410D;
|
21
|
+
color: #F8F8F8;
|
22
|
+
}
|
23
|
+
pre.twilight .EmbeddedSource {
|
24
|
+
background-color: #A3A6AD;
|
25
|
+
}
|
26
|
+
pre.twilight .Support {
|
27
|
+
color: #9B859D;
|
28
|
+
}
|
29
|
+
pre.twilight .MarkupList {
|
30
|
+
color: #F9EE98;
|
31
|
+
}
|
32
|
+
pre.twilight .CssConstructorArgument {
|
33
|
+
color: #8F9D6A;
|
34
|
+
}
|
35
|
+
pre.twilight .Storage {
|
36
|
+
color: #F9EE98;
|
37
|
+
}
|
38
|
+
pre.twilight .line-numbers {
|
39
|
+
background-color: #DDF0FF;
|
40
|
+
color: #000000;
|
41
|
+
}
|
42
|
+
pre.twilight .CssClass {
|
43
|
+
color: #9B703F;
|
44
|
+
}
|
45
|
+
pre.twilight .StringConstant {
|
46
|
+
color: #DDF2A4;
|
47
|
+
}
|
48
|
+
pre.twilight .CssAtRule {
|
49
|
+
color: #8693A5;
|
50
|
+
}
|
51
|
+
pre.twilight .MetaTagInline {
|
52
|
+
color: #E0C589;
|
53
|
+
}
|
54
|
+
pre.twilight .MarkupHeading {
|
55
|
+
color: #CF6A4C;
|
56
|
+
}
|
57
|
+
pre.twilight .CssTagName {
|
58
|
+
color: #CDA869;
|
59
|
+
}
|
60
|
+
pre.twilight .SupportConstant {
|
61
|
+
color: #CF6A4C;
|
62
|
+
}
|
63
|
+
pre.twilight .DiffDeleted {
|
64
|
+
background-color: #420E09;
|
65
|
+
color: #F8F8F8;
|
66
|
+
}
|
67
|
+
pre.twilight .CCCPreprocessorLine {
|
68
|
+
color: #8996A8;
|
69
|
+
}
|
70
|
+
pre.twilight .StringRegexpSpecial {
|
71
|
+
color: #CF7D34;
|
72
|
+
}
|
73
|
+
pre.twilight .EmbeddedSourceBright {
|
74
|
+
background-color: #9C9EA4;
|
75
|
+
}
|
76
|
+
pre.twilight .InvalidIllegal {
|
77
|
+
background-color: #241A24;
|
78
|
+
color: #F8F8F8;
|
79
|
+
}
|
80
|
+
pre.twilight .SupportFunction {
|
81
|
+
color: #DAD085;
|
82
|
+
}
|
83
|
+
pre.twilight .CssAdditionalConstants {
|
84
|
+
color: #CA7840;
|
85
|
+
}
|
86
|
+
pre.twilight .MetaTagAll {
|
87
|
+
color: #AC885B;
|
88
|
+
}
|
89
|
+
pre.twilight .StringRegexp {
|
90
|
+
color: #E9C062;
|
91
|
+
}
|
92
|
+
pre.twilight .StringEmbeddedSource {
|
93
|
+
color: #DAEFA3;
|
94
|
+
}
|
95
|
+
pre.twilight .EntityInheritedClass {
|
96
|
+
color: #9B5C2E;
|
97
|
+
font-style: italic;
|
98
|
+
}
|
99
|
+
pre.twilight .CssId {
|
100
|
+
color: #8B98AB;
|
101
|
+
}
|
102
|
+
pre.twilight .CssPseudoClass {
|
103
|
+
color: #8F9D6A;
|
104
|
+
}
|
105
|
+
pre.twilight .StringVariable {
|
106
|
+
color: #8A9A95;
|
107
|
+
}
|
108
|
+
pre.twilight .String {
|
109
|
+
color: #8F9D6A;
|
110
|
+
}
|
111
|
+
pre.twilight .Keyword {
|
112
|
+
color: #CDA869;
|
113
|
+
}
|
114
|
+
pre.twilight {
|
115
|
+
background-color: #141414;
|
116
|
+
color: #F8F8F8;
|
117
|
+
}
|
118
|
+
pre.twilight .CssPropertyName {
|
119
|
+
color: #C5AF75;
|
120
|
+
}
|
121
|
+
pre.twilight .DoctypeXmlProcessing {
|
122
|
+
color: #494949;
|
123
|
+
}
|
124
|
+
pre.twilight .InvalidDeprecated {
|
125
|
+
color: #D2A8A1;
|
126
|
+
font-style: italic;
|
127
|
+
}
|
128
|
+
pre.twilight .Variable {
|
129
|
+
color: #7587A6;
|
130
|
+
}
|
131
|
+
pre.twilight .Entity {
|
132
|
+
color: #9B703F;
|
133
|
+
}
|
134
|
+
pre.twilight .Comment {
|
135
|
+
color: #5F5A60;
|
136
|
+
font-style: italic;
|
137
|
+
}
|
@@ -0,0 +1,91 @@
|
|
1
|
+
pre.zenburnesque .InheritedClass {
|
2
|
+
}
|
3
|
+
pre.zenburnesque .TypeName {
|
4
|
+
color: #F09040;
|
5
|
+
}
|
6
|
+
pre.zenburnesque .FloatingPointPrefixOperators {
|
7
|
+
text-decoration: underline;
|
8
|
+
}
|
9
|
+
pre.zenburnesque .Number {
|
10
|
+
color: #22C0FF;
|
11
|
+
}
|
12
|
+
pre.zenburnesque .Directive {
|
13
|
+
font-weight: bold;
|
14
|
+
}
|
15
|
+
pre.zenburnesque .LibraryVariable {
|
16
|
+
}
|
17
|
+
pre.zenburnesque .Storage {
|
18
|
+
}
|
19
|
+
pre.zenburnesque .line-numbers {
|
20
|
+
background-color: #A0A0C0;
|
21
|
+
color: #000000;
|
22
|
+
}
|
23
|
+
pre.zenburnesque .LineNumberDirectives {
|
24
|
+
text-decoration: underline;
|
25
|
+
}
|
26
|
+
pre.zenburnesque .TagName {
|
27
|
+
}
|
28
|
+
pre.zenburnesque .StorageTypes {
|
29
|
+
color: #6080FF;
|
30
|
+
}
|
31
|
+
pre.zenburnesque .Operators {
|
32
|
+
color: #FFFFA0;
|
33
|
+
}
|
34
|
+
pre.zenburnesque {
|
35
|
+
background-color: #404040;
|
36
|
+
color: #DEDEDE;
|
37
|
+
}
|
38
|
+
pre.zenburnesque .LibraryConstant {
|
39
|
+
}
|
40
|
+
pre.zenburnesque .VariantTypes {
|
41
|
+
color: #4080A0;
|
42
|
+
}
|
43
|
+
pre.zenburnesque .Characters {
|
44
|
+
color: #FF8080;
|
45
|
+
}
|
46
|
+
pre.zenburnesque .FunctionArgument {
|
47
|
+
}
|
48
|
+
pre.zenburnesque .LanguageKeyword {
|
49
|
+
color: #FFFFA0;
|
50
|
+
}
|
51
|
+
pre.zenburnesque .BuiltInConstant {
|
52
|
+
}
|
53
|
+
pre.zenburnesque .FloatingPointNumbers {
|
54
|
+
text-decoration: underline;
|
55
|
+
}
|
56
|
+
pre.zenburnesque .ClassTypeName {
|
57
|
+
color: #F4A020;
|
58
|
+
}
|
59
|
+
pre.zenburnesque .TypeName1 {
|
60
|
+
color: #FFE000;
|
61
|
+
}
|
62
|
+
pre.zenburnesque .ModuleKeyword {
|
63
|
+
font-weight: bold;
|
64
|
+
color: #FF8000;
|
65
|
+
}
|
66
|
+
pre.zenburnesque .Invalid {
|
67
|
+
}
|
68
|
+
pre.zenburnesque .LibraryClassType {
|
69
|
+
}
|
70
|
+
pre.zenburnesque .LibraryFunction {
|
71
|
+
}
|
72
|
+
pre.zenburnesque .TagAttribute {
|
73
|
+
}
|
74
|
+
pre.zenburnesque .FloatingPointInfixOperators {
|
75
|
+
text-decoration: underline;
|
76
|
+
}
|
77
|
+
pre.zenburnesque .UserDefinedConstant {
|
78
|
+
}
|
79
|
+
pre.zenburnesque .String {
|
80
|
+
color: #FF2020;
|
81
|
+
}
|
82
|
+
pre.zenburnesque .FunctionName {
|
83
|
+
font-weight: bold;
|
84
|
+
color: #FFCC66;
|
85
|
+
}
|
86
|
+
pre.zenburnesque .Variable {
|
87
|
+
}
|
88
|
+
pre.zenburnesque .Comment {
|
89
|
+
color: #709070;
|
90
|
+
font-style: italic;
|
91
|
+
}
|