apitome 0.0.8 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (135) hide show
  1. checksums.yaml +5 -5
  2. data/MIT.LICENSE +2 -2
  3. data/README.md +99 -40
  4. data/app/assets/javascripts/apitome/application.js +16 -0
  5. data/app/assets/stylesheets/apitome/application.css +10 -0
  6. data/app/controllers/apitome/docs_controller.rb +83 -45
  7. data/app/helpers/apitome/docs_helper.rb +19 -0
  8. data/app/views/apitome/docs/_all_examples.html.erb +6 -2
  9. data/app/views/apitome/docs/_body.html.erb +1 -1
  10. data/app/views/apitome/docs/_curl.html.erb +1 -1
  11. data/app/views/apitome/docs/_endpoint.html.erb +4 -0
  12. data/app/views/apitome/docs/_example.html.erb +10 -6
  13. data/app/views/apitome/docs/_explanation.html.erb +3 -3
  14. data/app/views/apitome/docs/_headers.html.erb +6 -4
  15. data/app/views/apitome/docs/_navigation.html.erb +14 -10
  16. data/app/views/apitome/docs/_params.html.erb +4 -4
  17. data/app/views/apitome/docs/_query.html.erb +1 -1
  18. data/app/views/apitome/docs/_resource_explanation.html.erb +3 -0
  19. data/app/views/apitome/docs/_response_fields.html.erb +1 -1
  20. data/app/views/apitome/docs/_route.html.erb +1 -1
  21. data/app/views/apitome/docs/_status.html.erb +1 -1
  22. data/app/views/apitome/docs/index.html.erb +11 -6
  23. data/app/views/apitome/docs/show.html.erb +2 -1
  24. data/app/views/layouts/apitome/application.html.erb +4 -4
  25. data/config/locales/en.yml +14 -11
  26. data/config/locales/es.yml +14 -10
  27. data/lib/apitome.rb +5 -5
  28. data/lib/apitome/configuration.rb +36 -15
  29. data/lib/apitome/engine.rb +13 -7
  30. data/lib/apitome/exceptions.rb +5 -1
  31. data/lib/apitome/version.rb +1 -1
  32. data/lib/generators/apitome/install/POST_INSTALL +1 -1
  33. data/lib/generators/apitome/install/install_generator.rb +7 -8
  34. data/lib/generators/apitome/install/templates/initializer.rb +35 -13
  35. data/vendor/assets/javascripts/apitome/highlight.min.js +2 -1
  36. data/vendor/assets/stylesheets/apitome/highlight_themes/agate.css +108 -0
  37. data/vendor/assets/stylesheets/apitome/highlight_themes/androidstudio.css +66 -0
  38. data/vendor/assets/stylesheets/apitome/highlight_themes/arduino-light.css +88 -0
  39. data/vendor/assets/stylesheets/apitome/highlight_themes/arta.css +41 -126
  40. data/vendor/assets/stylesheets/apitome/highlight_themes/ascetic.css +31 -36
  41. data/vendor/assets/stylesheets/apitome/highlight_themes/atelier-cave-dark.css +83 -0
  42. data/vendor/assets/stylesheets/apitome/highlight_themes/atelier-cave-light.css +85 -0
  43. data/vendor/assets/stylesheets/apitome/highlight_themes/atelier-dune-dark.css +69 -0
  44. data/vendor/assets/stylesheets/apitome/highlight_themes/atelier-dune-light.css +69 -0
  45. data/vendor/assets/stylesheets/apitome/highlight_themes/atelier-estuary-dark.css +84 -0
  46. data/vendor/assets/stylesheets/apitome/highlight_themes/atelier-estuary-light.css +84 -0
  47. data/vendor/assets/stylesheets/apitome/highlight_themes/atelier-forest-dark.css +69 -0
  48. data/vendor/assets/stylesheets/apitome/highlight_themes/atelier-forest-light.css +69 -0
  49. data/vendor/assets/stylesheets/apitome/highlight_themes/atelier-heath-dark.css +69 -0
  50. data/vendor/assets/stylesheets/apitome/highlight_themes/atelier-heath-light.css +69 -0
  51. data/vendor/assets/stylesheets/apitome/highlight_themes/atelier-lakeside-dark.css +69 -0
  52. data/vendor/assets/stylesheets/apitome/highlight_themes/atelier-lakeside-light.css +69 -0
  53. data/vendor/assets/stylesheets/apitome/highlight_themes/atelier-plateau-dark.css +84 -0
  54. data/vendor/assets/stylesheets/apitome/highlight_themes/atelier-plateau-light.css +84 -0
  55. data/vendor/assets/stylesheets/apitome/highlight_themes/atelier-savanna-dark.css +84 -0
  56. data/vendor/assets/stylesheets/apitome/highlight_themes/atelier-savanna-light.css +84 -0
  57. data/vendor/assets/stylesheets/apitome/highlight_themes/atelier-seaside-dark.css +69 -0
  58. data/vendor/assets/stylesheets/apitome/highlight_themes/atelier-seaside-light.css +69 -0
  59. data/vendor/assets/stylesheets/apitome/highlight_themes/atelier-sulphurpool-dark.css +69 -0
  60. data/vendor/assets/stylesheets/apitome/highlight_themes/atelier-sulphurpool-light.css +69 -0
  61. data/vendor/assets/stylesheets/apitome/highlight_themes/brown-paper.css +64 -0
  62. data/vendor/assets/stylesheets/apitome/highlight_themes/{brown_papersq.png → brown-papersq.png} +0 -0
  63. data/vendor/assets/stylesheets/apitome/highlight_themes/codepen-embed.css +60 -0
  64. data/vendor/assets/stylesheets/apitome/highlight_themes/color-brewer.css +71 -0
  65. data/vendor/assets/stylesheets/apitome/highlight_themes/dark.css +41 -81
  66. data/vendor/assets/stylesheets/apitome/highlight_themes/darkula.css +74 -0
  67. data/vendor/assets/stylesheets/apitome/highlight_themes/default.css +74 -110
  68. data/vendor/assets/stylesheets/apitome/highlight_themes/docco.css +97 -0
  69. data/vendor/assets/stylesheets/apitome/highlight_themes/dracula.css +76 -0
  70. data/vendor/assets/stylesheets/apitome/highlight_themes/far.css +46 -86
  71. data/vendor/assets/stylesheets/apitome/highlight_themes/foundation.css +88 -0
  72. data/vendor/assets/stylesheets/apitome/highlight_themes/github-gist.css +71 -0
  73. data/vendor/assets/stylesheets/apitome/highlight_themes/github.css +53 -81
  74. data/vendor/assets/stylesheets/apitome/highlight_themes/googlecode.css +48 -103
  75. data/vendor/assets/stylesheets/apitome/highlight_themes/grayscale.css +101 -0
  76. data/vendor/assets/stylesheets/apitome/highlight_themes/gruvbox-dark.css +108 -0
  77. data/vendor/assets/stylesheets/apitome/highlight_themes/gruvbox-light.css +108 -0
  78. data/vendor/assets/stylesheets/apitome/highlight_themes/hopscotch.css +83 -0
  79. data/vendor/assets/stylesheets/apitome/highlight_themes/hybrid.css +102 -0
  80. data/vendor/assets/stylesheets/apitome/highlight_themes/idea.css +40 -64
  81. data/vendor/assets/stylesheets/apitome/highlight_themes/ir-black.css +73 -0
  82. data/vendor/assets/stylesheets/apitome/highlight_themes/kimbie.dark.css +74 -0
  83. data/vendor/assets/stylesheets/apitome/highlight_themes/kimbie.light.css +74 -0
  84. data/vendor/assets/stylesheets/apitome/highlight_themes/magula.css +36 -87
  85. data/vendor/assets/stylesheets/apitome/highlight_themes/mono-blue.css +59 -0
  86. data/vendor/assets/stylesheets/apitome/highlight_themes/monokai-sublime.css +83 -0
  87. data/vendor/assets/stylesheets/apitome/highlight_themes/monokai.css +50 -94
  88. data/vendor/assets/stylesheets/apitome/highlight_themes/obsidian.css +88 -0
  89. data/vendor/assets/stylesheets/apitome/highlight_themes/paraiso-dark.css +72 -0
  90. data/vendor/assets/stylesheets/apitome/highlight_themes/paraiso-light.css +72 -0
  91. data/vendor/assets/stylesheets/apitome/highlight_themes/pojoaque.css +45 -66
  92. data/vendor/assets/stylesheets/apitome/highlight_themes/purebasic.css +96 -0
  93. data/vendor/assets/stylesheets/apitome/highlight_themes/qtcreator_dark.css +83 -0
  94. data/vendor/assets/stylesheets/apitome/highlight_themes/qtcreator_light.css +83 -0
  95. data/vendor/assets/stylesheets/apitome/highlight_themes/railscasts.css +106 -0
  96. data/vendor/assets/stylesheets/apitome/highlight_themes/rainbow.css +48 -77
  97. data/vendor/assets/stylesheets/apitome/highlight_themes/school-book.css +72 -0
  98. data/vendor/assets/stylesheets/apitome/highlight_themes/{school_book.png → school-book.png} +0 -0
  99. data/vendor/assets/stylesheets/apitome/highlight_themes/solarized-dark.css +84 -0
  100. data/vendor/assets/stylesheets/apitome/highlight_themes/solarized-light.css +84 -0
  101. data/vendor/assets/stylesheets/apitome/highlight_themes/sunburst.css +55 -111
  102. data/vendor/assets/stylesheets/apitome/highlight_themes/tomorrow-night-blue.css +75 -0
  103. data/vendor/assets/stylesheets/apitome/highlight_themes/tomorrow-night-bright.css +74 -0
  104. data/vendor/assets/stylesheets/apitome/highlight_themes/tomorrow-night-eighties.css +74 -0
  105. data/vendor/assets/stylesheets/apitome/highlight_themes/tomorrow-night.css +75 -0
  106. data/vendor/assets/stylesheets/apitome/highlight_themes/tomorrow.css +43 -20
  107. data/vendor/assets/stylesheets/apitome/highlight_themes/vs.css +50 -68
  108. data/vendor/assets/stylesheets/apitome/highlight_themes/xcode.css +55 -116
  109. data/vendor/assets/stylesheets/apitome/highlight_themes/xt256.css +92 -0
  110. data/vendor/assets/stylesheets/apitome/highlight_themes/zenburn.css +49 -84
  111. metadata +80 -65
  112. data/config/routes.rb +0 -4
  113. data/spec/apitome/configuration_spec.rb +0 -0
  114. data/spec/apitome/engine_spec.rb +0 -0
  115. data/spec/dummy/Rakefile +0 -7
  116. data/spec/dummy/config.ru +0 -15
  117. data/spec/dummy/config/application.rb +0 -16
  118. data/spec/dummy/config/boot.rb +0 -7
  119. data/spec/dummy/config/environment.rb +0 -5
  120. data/spec/dummy/config/environments/development.rb +0 -27
  121. data/spec/dummy/config/environments/test.rb +0 -29
  122. data/spec/dummy/config/initializers/apitome.rb +0 -44
  123. data/spec/dummy/config/routes.rb +0 -2
  124. data/spec/dummy/doc/api.md +0 -20
  125. data/spec/dummy/public/favicon.ico +0 -0
  126. data/spec/dummy/script/rails +0 -6
  127. data/vendor/assets/stylesheets/apitome/highlight_themes/brown_paper.css +0 -104
  128. data/vendor/assets/stylesheets/apitome/highlight_themes/ir_black.css +0 -104
  129. data/vendor/assets/stylesheets/apitome/highlight_themes/school_book.css +0 -111
  130. data/vendor/assets/stylesheets/apitome/highlight_themes/solarized_dark.css +0 -88
  131. data/vendor/assets/stylesheets/apitome/highlight_themes/solarized_light.css +0 -88
  132. data/vendor/assets/stylesheets/apitome/highlight_themes/tomorrow_night.css +0 -52
  133. data/vendor/assets/stylesheets/apitome/highlight_themes/tomorrow_night_blue.css +0 -52
  134. data/vendor/assets/stylesheets/apitome/highlight_themes/tomorrow_night_bright.css +0 -51
  135. data/vendor/assets/stylesheets/apitome/highlight_themes/tomorrow_night_eighties.css +0 -51
@@ -0,0 +1,74 @@
1
+ /*
2
+ Name: Kimbie (light)
3
+ Author: Jan T. Sott
4
+ License: Creative Commons Attribution-ShareAlike 4.0 Unported License
5
+ URL: https://github.com/idleberg/Kimbie-highlight.js
6
+ */
7
+
8
+ /* Kimbie Comment */
9
+ .hljs-comment,
10
+ .hljs-quote {
11
+ color: #a57a4c;
12
+ }
13
+
14
+ /* Kimbie Red */
15
+ .hljs-variable,
16
+ .hljs-template-variable,
17
+ .hljs-tag,
18
+ .hljs-name,
19
+ .hljs-selector-id,
20
+ .hljs-selector-class,
21
+ .hljs-regexp,
22
+ .hljs-meta {
23
+ color: #dc3958;
24
+ }
25
+
26
+ /* Kimbie Orange */
27
+ .hljs-number,
28
+ .hljs-built_in,
29
+ .hljs-builtin-name,
30
+ .hljs-literal,
31
+ .hljs-type,
32
+ .hljs-params,
33
+ .hljs-deletion,
34
+ .hljs-link {
35
+ color: #f79a32;
36
+ }
37
+
38
+ /* Kimbie Yellow */
39
+ .hljs-title,
40
+ .hljs-section,
41
+ .hljs-attribute {
42
+ color: #f06431;
43
+ }
44
+
45
+ /* Kimbie Green */
46
+ .hljs-string,
47
+ .hljs-symbol,
48
+ .hljs-bullet,
49
+ .hljs-addition {
50
+ color: #889b4a;
51
+ }
52
+
53
+ /* Kimbie Purple */
54
+ .hljs-keyword,
55
+ .hljs-selector-tag,
56
+ .hljs-function {
57
+ color: #98676a;
58
+ }
59
+
60
+ .hljs {
61
+ display: block;
62
+ overflow-x: auto;
63
+ background: #fbebd4;
64
+ color: #84613d;
65
+ padding: 0.5em;
66
+ }
67
+
68
+ .hljs-emphasis {
69
+ font-style: italic;
70
+ }
71
+
72
+ .hljs-strong {
73
+ font-weight: bold;
74
+ }
@@ -1,4 +1,4 @@
1
- /*
1
+ /*
2
2
  Description: Magula style for highligh.js
3
3
  Author: Ruslan Keba <rukeba@gmail.com>
4
4
  Website: http://rukeba.com/
@@ -7,115 +7,64 @@ Date: 2009-01-03
7
7
  Music: Aphex Twin / Xtal
8
8
  */
9
9
 
10
- pre code {
11
- display: block; padding: 0.5em;
10
+ .hljs {
11
+ display: block;
12
+ overflow-x: auto;
13
+ padding: 0.5em;
12
14
  background-color: #f4f4f4;
13
15
  }
14
16
 
15
- pre code,
16
- pre .subst,
17
- pre .lisp .title,
18
- pre .clojure .built_in {
17
+ .hljs,
18
+ .hljs-subst {
19
19
  color: black;
20
20
  }
21
21
 
22
- pre .string,
23
- pre .title,
24
- pre .parent,
25
- pre .tag .value,
26
- pre .rules .value,
27
- pre .rules .value .number,
28
- pre .preprocessor,
29
- pre .ruby .symbol,
30
- pre .ruby .symbol .string,
31
- pre .aggregate,
32
- pre .template_tag,
33
- pre .django .variable,
34
- pre .smalltalk .class,
35
- pre .addition,
36
- pre .flow,
37
- pre .stream,
38
- pre .bash .variable,
39
- pre .apache .cbracket {
22
+ .hljs-string,
23
+ .hljs-title,
24
+ .hljs-symbol,
25
+ .hljs-bullet,
26
+ .hljs-attribute,
27
+ .hljs-addition,
28
+ .hljs-variable,
29
+ .hljs-template-tag,
30
+ .hljs-template-variable {
40
31
  color: #050;
41
32
  }
42
33
 
43
- pre .comment,
44
- pre .annotation,
45
- pre .template_comment,
46
- pre .diff .header,
47
- pre .chunk {
34
+ .hljs-comment,
35
+ .hljs-quote {
48
36
  color: #777;
49
37
  }
50
38
 
51
- pre .number,
52
- pre .date,
53
- pre .regexp,
54
- pre .literal,
55
- pre .smalltalk .symbol,
56
- pre .smalltalk .char,
57
- pre .change,
58
- pre .tex .special {
39
+ .hljs-number,
40
+ .hljs-regexp,
41
+ .hljs-literal,
42
+ .hljs-type,
43
+ .hljs-link {
59
44
  color: #800;
60
45
  }
61
46
 
62
- pre .label,
63
- pre .javadoc,
64
- pre .ruby .string,
65
- pre .decorator,
66
- pre .filter .argument,
67
- pre .localvars,
68
- pre .array,
69
- pre .attr_selector,
70
- pre .pseudo,
71
- pre .pi,
72
- pre .doctype,
73
- pre .deletion,
74
- pre .envvar,
75
- pre .shebang,
76
- pre .apache .sqbracket,
77
- pre .nginx .built_in,
78
- pre .tex .formula,
79
- pre .prompt,
80
- pre .clojure .attribute {
47
+ .hljs-deletion,
48
+ .hljs-meta {
81
49
  color: #00e;
82
50
  }
83
51
 
84
- pre .keyword,
85
- pre .id,
86
- pre .phpdoc,
87
- pre .title,
88
- pre .built_in,
89
- pre .aggregate,
90
- pre .smalltalk .class,
91
- pre .winutils,
92
- pre .bash .variable,
93
- pre .apache .tag,
94
- pre .xml .tag,
95
- pre .tex .command,
96
- pre .request,
97
- pre .status {
52
+ .hljs-keyword,
53
+ .hljs-selector-tag,
54
+ .hljs-doctag,
55
+ .hljs-title,
56
+ .hljs-section,
57
+ .hljs-built_in,
58
+ .hljs-tag,
59
+ .hljs-name {
98
60
  font-weight: bold;
99
61
  color: navy;
100
62
  }
101
63
 
102
- pre .nginx .built_in {
103
- font-weight: normal;
64
+ .hljs-emphasis {
65
+ font-style: italic;
104
66
  }
105
67
 
106
- pre .coffeescript .javascript,
107
- pre .javascript .xml,
108
- pre .tex .formula,
109
- pre .xml .javascript,
110
- pre .xml .vbscript,
111
- pre .xml .css,
112
- pre .xml .cdata {
113
- opacity: 0.5;
114
- }
115
-
116
- /* --- */
117
- pre .apache .tag {
68
+ .hljs-strong {
118
69
  font-weight: bold;
119
- color: blue;
120
70
  }
121
-
@@ -0,0 +1,59 @@
1
+ /*
2
+ Five-color theme from a single blue hue.
3
+ */
4
+ .hljs {
5
+ display: block;
6
+ overflow-x: auto;
7
+ padding: 0.5em;
8
+ background: #eaeef3;
9
+ }
10
+
11
+ .hljs {
12
+ color: #00193a;
13
+ }
14
+
15
+ .hljs-keyword,
16
+ .hljs-selector-tag,
17
+ .hljs-title,
18
+ .hljs-section,
19
+ .hljs-doctag,
20
+ .hljs-name,
21
+ .hljs-strong {
22
+ font-weight: bold;
23
+ }
24
+
25
+ .hljs-comment {
26
+ color: #738191;
27
+ }
28
+
29
+ .hljs-string,
30
+ .hljs-title,
31
+ .hljs-section,
32
+ .hljs-built_in,
33
+ .hljs-literal,
34
+ .hljs-type,
35
+ .hljs-addition,
36
+ .hljs-tag,
37
+ .hljs-quote,
38
+ .hljs-name,
39
+ .hljs-selector-id,
40
+ .hljs-selector-class {
41
+ color: #0048ab;
42
+ }
43
+
44
+ .hljs-meta,
45
+ .hljs-subst,
46
+ .hljs-symbol,
47
+ .hljs-regexp,
48
+ .hljs-attribute,
49
+ .hljs-deletion,
50
+ .hljs-variable,
51
+ .hljs-template-variable,
52
+ .hljs-link,
53
+ .hljs-bullet {
54
+ color: #4c81c9;
55
+ }
56
+
57
+ .hljs-emphasis {
58
+ font-style: italic;
59
+ }
@@ -0,0 +1,83 @@
1
+ /*
2
+
3
+ Monokai Sublime style. Derived from Monokai by noformnocontent http://nn.mit-license.org/
4
+
5
+ */
6
+
7
+ .hljs {
8
+ display: block;
9
+ overflow-x: auto;
10
+ padding: 0.5em;
11
+ background: #23241f;
12
+ }
13
+
14
+ .hljs,
15
+ .hljs-tag,
16
+ .hljs-subst {
17
+ color: #f8f8f2;
18
+ }
19
+
20
+ .hljs-strong,
21
+ .hljs-emphasis {
22
+ color: #a8a8a2;
23
+ }
24
+
25
+ .hljs-bullet,
26
+ .hljs-quote,
27
+ .hljs-number,
28
+ .hljs-regexp,
29
+ .hljs-literal,
30
+ .hljs-link {
31
+ color: #ae81ff;
32
+ }
33
+
34
+ .hljs-code,
35
+ .hljs-title,
36
+ .hljs-section,
37
+ .hljs-selector-class {
38
+ color: #a6e22e;
39
+ }
40
+
41
+ .hljs-strong {
42
+ font-weight: bold;
43
+ }
44
+
45
+ .hljs-emphasis {
46
+ font-style: italic;
47
+ }
48
+
49
+ .hljs-keyword,
50
+ .hljs-selector-tag,
51
+ .hljs-name,
52
+ .hljs-attr {
53
+ color: #f92672;
54
+ }
55
+
56
+ .hljs-symbol,
57
+ .hljs-attribute {
58
+ color: #66d9ef;
59
+ }
60
+
61
+ .hljs-params,
62
+ .hljs-class .hljs-title {
63
+ color: #f8f8f2;
64
+ }
65
+
66
+ .hljs-string,
67
+ .hljs-type,
68
+ .hljs-built_in,
69
+ .hljs-builtin-name,
70
+ .hljs-selector-id,
71
+ .hljs-selector-attr,
72
+ .hljs-selector-pseudo,
73
+ .hljs-addition,
74
+ .hljs-variable,
75
+ .hljs-template-variable {
76
+ color: #e6db74;
77
+ }
78
+
79
+ .hljs-comment,
80
+ .hljs-deletion,
81
+ .hljs-meta {
82
+ color: #75715e;
83
+ }
@@ -2,113 +2,69 @@
2
2
  Monokai style - ported by Luigi Maselli - http://grigio.org
3
3
  */
4
4
 
5
- pre code {
6
- display: block; padding: 0.5em;
7
- background: #272822;
5
+ .hljs {
6
+ display: block;
7
+ overflow-x: auto;
8
+ padding: 0.5em;
9
+ background: #272822; color: #ddd;
8
10
  }
9
11
 
10
- pre .tag,
11
- pre .tag .title,
12
- pre .keyword,
13
- pre .literal,
14
- pre .change,
15
- pre .winutils,
16
- pre .flow,
17
- pre .lisp .title,
18
- pre .clojure .built_in,
19
- pre .nginx .title,
20
- pre .tex .special {
21
- color: #F92672;
12
+ .hljs-tag,
13
+ .hljs-keyword,
14
+ .hljs-selector-tag,
15
+ .hljs-literal,
16
+ .hljs-strong,
17
+ .hljs-name {
18
+ color: #f92672;
22
19
  }
23
20
 
24
- pre code {
25
- color: #DDD;
21
+ .hljs-code {
22
+ color: #66d9ef;
26
23
  }
27
24
 
28
- pre code .constant {
29
- color: #66D9EF;
25
+ .hljs-class .hljs-title {
26
+ color: white;
30
27
  }
31
28
 
32
- pre .class .title {
33
- color: white;
29
+ .hljs-attribute,
30
+ .hljs-symbol,
31
+ .hljs-regexp,
32
+ .hljs-link {
33
+ color: #bf79db;
34
34
  }
35
35
 
36
- pre .attribute,
37
- pre .symbol,
38
- pre .symbol .string,
39
- pre .value,
40
- pre .regexp {
41
- color: #BF79DB;
36
+ .hljs-string,
37
+ .hljs-bullet,
38
+ .hljs-subst,
39
+ .hljs-title,
40
+ .hljs-section,
41
+ .hljs-emphasis,
42
+ .hljs-type,
43
+ .hljs-built_in,
44
+ .hljs-builtin-name,
45
+ .hljs-selector-attr,
46
+ .hljs-selector-pseudo,
47
+ .hljs-addition,
48
+ .hljs-variable,
49
+ .hljs-template-tag,
50
+ .hljs-template-variable {
51
+ color: #a6e22e;
42
52
  }
43
53
 
44
- pre .tag .value,
45
- pre .string,
46
- pre .subst,
47
- pre .title,
48
- pre .haskell .type,
49
- pre .preprocessor,
50
- pre .ruby .class .parent,
51
- pre .built_in,
52
- pre .sql .aggregate,
53
- pre .django .template_tag,
54
- pre .django .variable,
55
- pre .smalltalk .class,
56
- pre .javadoc,
57
- pre .django .filter .argument,
58
- pre .smalltalk .localvars,
59
- pre .smalltalk .array,
60
- pre .attr_selector,
61
- pre .pseudo,
62
- pre .addition,
63
- pre .stream,
64
- pre .envvar,
65
- pre .apache .tag,
66
- pre .apache .cbracket,
67
- pre .tex .command,
68
- pre .prompt {
69
- color: #A6E22E;
54
+ .hljs-comment,
55
+ .hljs-quote,
56
+ .hljs-deletion,
57
+ .hljs-meta {
58
+ color: #75715e;
70
59
  }
71
60
 
72
- pre .comment,
73
- pre .java .annotation,
74
- pre .python .decorator,
75
- pre .template_comment,
76
- pre .pi,
77
- pre .doctype,
78
- pre .deletion,
79
- pre .shebang,
80
- pre .apache .sqbracket,
81
- pre .tex .formula {
82
- color: #75715E;
83
- }
84
-
85
- pre .keyword,
86
- pre .literal,
87
- pre .css .id,
88
- pre .phpdoc,
89
- pre .title,
90
- pre .haskell .type,
91
- pre .vbscript .built_in,
92
- pre .sql .aggregate,
93
- pre .rsl .built_in,
94
- pre .smalltalk .class,
95
- pre .diff .header,
96
- pre .chunk,
97
- pre .winutils,
98
- pre .bash .variable,
99
- pre .apache .tag,
100
- pre .tex .special,
101
- pre .request,
102
- pre .status {
61
+ .hljs-keyword,
62
+ .hljs-selector-tag,
63
+ .hljs-literal,
64
+ .hljs-doctag,
65
+ .hljs-title,
66
+ .hljs-section,
67
+ .hljs-type,
68
+ .hljs-selector-id {
103
69
  font-weight: bold;
104
70
  }
105
-
106
- pre .coffeescript .javascript,
107
- pre .javascript .xml,
108
- pre .tex .formula,
109
- pre .xml .javascript,
110
- pre .xml .vbscript,
111
- pre .xml .css,
112
- pre .xml .cdata {
113
- opacity: 0.5;
114
- }