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
@@ -4,108 +4,68 @@ FAR Style (c) MajestiC <majestic2k@gmail.com>
4
4
 
5
5
  */
6
6
 
7
- pre code {
8
- display: block; padding: 0.5em;
7
+ .hljs {
8
+ display: block;
9
+ overflow-x: auto;
10
+ padding: 0.5em;
9
11
  background: #000080;
10
12
  }
11
13
 
12
- pre code,
13
- pre .subst {
14
- color: #0FF;
14
+ .hljs,
15
+ .hljs-subst {
16
+ color: #0ff;
15
17
  }
16
18
 
17
- pre .string,
18
- pre .ruby .string,
19
- pre .haskell .type,
20
- pre .tag .value,
21
- pre .css .rules .value,
22
- pre .css .rules .value .number,
23
- pre .preprocessor,
24
- pre .ruby .symbol,
25
- pre .ruby .symbol .string,
26
- pre .built_in,
27
- pre .sql .aggregate,
28
- pre .django .template_tag,
29
- pre .django .variable,
30
- pre .smalltalk .class,
31
- pre .addition,
32
- pre .apache .tag,
33
- pre .apache .cbracket,
34
- pre .tex .command,
35
- pre .clojure .title {
36
- color: #FF0;
19
+ .hljs-string,
20
+ .hljs-attribute,
21
+ .hljs-symbol,
22
+ .hljs-bullet,
23
+ .hljs-built_in,
24
+ .hljs-builtin-name,
25
+ .hljs-template-tag,
26
+ .hljs-template-variable,
27
+ .hljs-addition {
28
+ color: #ff0;
37
29
  }
38
30
 
39
- pre .keyword,
40
- pre .css .id,
41
- pre .title,
42
- pre .haskell .type,
43
- pre .vbscript .built_in,
44
- pre .sql .aggregate,
45
- pre .rsl .built_in,
46
- pre .smalltalk .class,
47
- pre .xml .tag .title,
48
- pre .winutils,
49
- pre .flow,
50
- pre .change,
51
- pre .envvar,
52
- pre .bash .variable,
53
- pre .tex .special,
54
- pre .clojure .built_in {
55
- color: #FFF;
31
+ .hljs-keyword,
32
+ .hljs-selector-tag,
33
+ .hljs-section,
34
+ .hljs-type,
35
+ .hljs-name,
36
+ .hljs-selector-id,
37
+ .hljs-selector-class,
38
+ .hljs-variable {
39
+ color: #fff;
56
40
  }
57
41
 
58
- pre .comment,
59
- pre .phpdoc,
60
- pre .javadoc,
61
- pre .java .annotation,
62
- pre .template_comment,
63
- pre .deletion,
64
- pre .apache .sqbracket,
65
- pre .tex .formula {
42
+ .hljs-comment,
43
+ .hljs-quote,
44
+ .hljs-doctag,
45
+ .hljs-deletion {
66
46
  color: #888;
67
47
  }
68
48
 
69
- pre .number,
70
- pre .date,
71
- pre .regexp,
72
- pre .literal,
73
- pre .smalltalk .symbol,
74
- pre .smalltalk .char,
75
- pre .clojure .attribute {
76
- color: #0F0;
49
+ .hljs-number,
50
+ .hljs-regexp,
51
+ .hljs-literal,
52
+ .hljs-link {
53
+ color: #0f0;
77
54
  }
78
55
 
79
- pre .python .decorator,
80
- pre .django .filter .argument,
81
- pre .smalltalk .localvars,
82
- pre .smalltalk .array,
83
- pre .attr_selector,
84
- pre .pseudo,
85
- pre .xml .pi,
86
- pre .diff .header,
87
- pre .chunk,
88
- pre .shebang,
89
- pre .nginx .built_in,
90
- pre .prompt {
56
+ .hljs-meta {
91
57
  color: #008080;
92
58
  }
93
59
 
94
- pre .keyword,
95
- pre .css .id,
96
- pre .title,
97
- pre .haskell .type,
98
- pre .vbscript .built_in,
99
- pre .sql .aggregate,
100
- pre .rsl .built_in,
101
- pre .smalltalk .class,
102
- pre .winutils,
103
- pre .flow,
104
- pre .apache .tag,
105
- pre .nginx .built_in,
106
- pre .tex .command,
107
- pre .tex .special,
108
- pre .request,
109
- pre .status {
60
+ .hljs-keyword,
61
+ .hljs-selector-tag,
62
+ .hljs-title,
63
+ .hljs-section,
64
+ .hljs-name,
65
+ .hljs-strong {
110
66
  font-weight: bold;
111
67
  }
68
+
69
+ .hljs-emphasis {
70
+ font-style: italic;
71
+ }
@@ -0,0 +1,88 @@
1
+ /*
2
+ Description: Foundation 4 docs style for highlight.js
3
+ Author: Dan Allen <dan.j.allen@gmail.com>
4
+ Website: http://foundation.zurb.com/docs/
5
+ Version: 1.0
6
+ Date: 2013-04-02
7
+ */
8
+
9
+ .hljs {
10
+ display: block;
11
+ overflow-x: auto;
12
+ padding: 0.5em;
13
+ background: #eee; color: black;
14
+ }
15
+
16
+ .hljs-link,
17
+ .hljs-emphasis,
18
+ .hljs-attribute,
19
+ .hljs-addition {
20
+ color: #070;
21
+ }
22
+
23
+ .hljs-emphasis {
24
+ font-style: italic;
25
+ }
26
+
27
+ .hljs-strong,
28
+ .hljs-string,
29
+ .hljs-deletion {
30
+ color: #d14;
31
+ }
32
+
33
+ .hljs-strong {
34
+ font-weight: bold;
35
+ }
36
+
37
+ .hljs-quote,
38
+ .hljs-comment {
39
+ color: #998;
40
+ font-style: italic;
41
+ }
42
+
43
+ .hljs-section,
44
+ .hljs-title {
45
+ color: #900;
46
+ }
47
+
48
+ .hljs-class .hljs-title,
49
+ .hljs-type {
50
+ color: #458;
51
+ }
52
+
53
+ .hljs-variable,
54
+ .hljs-template-variable {
55
+ color: #336699;
56
+ }
57
+
58
+ .hljs-bullet {
59
+ color: #997700;
60
+ }
61
+
62
+ .hljs-meta {
63
+ color: #3344bb;
64
+ }
65
+
66
+ .hljs-code,
67
+ .hljs-number,
68
+ .hljs-literal,
69
+ .hljs-keyword,
70
+ .hljs-selector-tag {
71
+ color: #099;
72
+ }
73
+
74
+ .hljs-regexp {
75
+ background-color: #fff0ff;
76
+ color: #880088;
77
+ }
78
+
79
+ .hljs-symbol {
80
+ color: #990073;
81
+ }
82
+
83
+ .hljs-tag,
84
+ .hljs-name,
85
+ .hljs-selector-id,
86
+ .hljs-selector-class {
87
+ color: #007700;
88
+ }
@@ -0,0 +1,71 @@
1
+ /**
2
+ * GitHub Gist Theme
3
+ * Author : Louis Barranqueiro - https://github.com/LouisBarranqueiro
4
+ */
5
+
6
+ .hljs {
7
+ display: block;
8
+ background: white;
9
+ padding: 0.5em;
10
+ color: #333333;
11
+ overflow-x: auto;
12
+ }
13
+
14
+ .hljs-comment,
15
+ .hljs-meta {
16
+ color: #969896;
17
+ }
18
+
19
+ .hljs-string,
20
+ .hljs-variable,
21
+ .hljs-template-variable,
22
+ .hljs-strong,
23
+ .hljs-emphasis,
24
+ .hljs-quote {
25
+ color: #df5000;
26
+ }
27
+
28
+ .hljs-keyword,
29
+ .hljs-selector-tag,
30
+ .hljs-type {
31
+ color: #a71d5d;
32
+ }
33
+
34
+ .hljs-literal,
35
+ .hljs-symbol,
36
+ .hljs-bullet,
37
+ .hljs-attribute {
38
+ color: #0086b3;
39
+ }
40
+
41
+ .hljs-section,
42
+ .hljs-name {
43
+ color: #63a35c;
44
+ }
45
+
46
+ .hljs-tag {
47
+ color: #333333;
48
+ }
49
+
50
+ .hljs-title,
51
+ .hljs-attr,
52
+ .hljs-selector-id,
53
+ .hljs-selector-class,
54
+ .hljs-selector-attr,
55
+ .hljs-selector-pseudo {
56
+ color: #795da3;
57
+ }
58
+
59
+ .hljs-addition {
60
+ color: #55a532;
61
+ background-color: #eaffea;
62
+ }
63
+
64
+ .hljs-deletion {
65
+ color: #bd2c00;
66
+ background-color: #ffecec;
67
+ }
68
+
69
+ .hljs-link {
70
+ text-decoration: underline;
71
+ }
@@ -4,124 +4,96 @@ github.com style (c) Vasily Polovnyov <vast@whiteants.net>
4
4
 
5
5
  */
6
6
 
7
- pre code {
8
- display: block; padding: 0.5em;
7
+ .hljs {
8
+ display: block;
9
+ overflow-x: auto;
10
+ padding: 0.5em;
9
11
  color: #333;
10
- background: #f8f8ff
12
+ background: #f8f8f8;
11
13
  }
12
14
 
13
- pre .comment,
14
- pre .template_comment,
15
- pre .diff .header,
16
- pre .javadoc {
15
+ .hljs-comment,
16
+ .hljs-quote {
17
17
  color: #998;
18
- font-style: italic
18
+ font-style: italic;
19
19
  }
20
20
 
21
- pre .keyword,
22
- pre .css .rule .keyword,
23
- pre .winutils,
24
- pre .javascript .title,
25
- pre .nginx .title,
26
- pre .subst,
27
- pre .request,
28
- pre .status {
21
+ .hljs-keyword,
22
+ .hljs-selector-tag,
23
+ .hljs-subst {
29
24
  color: #333;
30
- font-weight: bold
25
+ font-weight: bold;
31
26
  }
32
27
 
33
- pre .number,
34
- pre .hexcolor,
35
- pre .ruby .constant {
36
- color: #099;
28
+ .hljs-number,
29
+ .hljs-literal,
30
+ .hljs-variable,
31
+ .hljs-template-variable,
32
+ .hljs-tag .hljs-attr {
33
+ color: #008080;
37
34
  }
38
35
 
39
- pre .string,
40
- pre .tag .value,
41
- pre .phpdoc,
42
- pre .tex .formula {
43
- color: #d14
36
+ .hljs-string,
37
+ .hljs-doctag {
38
+ color: #d14;
44
39
  }
45
40
 
46
- pre .title,
47
- pre .id {
41
+ .hljs-title,
42
+ .hljs-section,
43
+ .hljs-selector-id {
48
44
  color: #900;
49
- font-weight: bold
45
+ font-weight: bold;
50
46
  }
51
47
 
52
- pre .javascript .title,
53
- pre .lisp .title,
54
- pre .clojure .title,
55
- pre .subst {
56
- font-weight: normal
48
+ .hljs-subst {
49
+ font-weight: normal;
57
50
  }
58
51
 
59
- pre .class .title,
60
- pre .haskell .type,
61
- pre .vhdl .literal,
62
- pre .tex .command {
52
+ .hljs-type,
53
+ .hljs-class .hljs-title {
63
54
  color: #458;
64
- font-weight: bold
55
+ font-weight: bold;
65
56
  }
66
57
 
67
- pre .tag,
68
- pre .tag .title,
69
- pre .rules .property,
70
- pre .django .tag .keyword {
58
+ .hljs-tag,
59
+ .hljs-name,
60
+ .hljs-attribute {
71
61
  color: #000080;
72
- font-weight: normal
62
+ font-weight: normal;
73
63
  }
74
64
 
75
- pre .attribute,
76
- pre .variable,
77
- pre .lisp .body {
78
- color: #008080
65
+ .hljs-regexp,
66
+ .hljs-link {
67
+ color: #009926;
79
68
  }
80
69
 
81
- pre .regexp {
82
- color: #009926
70
+ .hljs-symbol,
71
+ .hljs-bullet {
72
+ color: #990073;
83
73
  }
84
74
 
85
- pre .class {
86
- color: #458;
87
- font-weight: bold
88
- }
89
-
90
- pre .symbol,
91
- pre .ruby .symbol .string,
92
- pre .lisp .keyword,
93
- pre .tex .special,
94
- pre .prompt {
95
- color: #990073
96
- }
97
-
98
- pre .built_in,
99
- pre .lisp .title,
100
- pre .clojure .built_in {
101
- color: #0086b3
75
+ .hljs-built_in,
76
+ .hljs-builtin-name {
77
+ color: #0086b3;
102
78
  }
103
79
 
104
- pre .preprocessor,
105
- pre .pi,
106
- pre .doctype,
107
- pre .shebang,
108
- pre .cdata {
80
+ .hljs-meta {
109
81
  color: #999;
110
- font-weight: bold
82
+ font-weight: bold;
111
83
  }
112
84
 
113
- pre .deletion {
114
- background: #fdd
85
+ .hljs-deletion {
86
+ background: #fdd;
115
87
  }
116
88
 
117
- pre .addition {
118
- background: #dfd
89
+ .hljs-addition {
90
+ background: #dfd;
119
91
  }
120
92
 
121
- pre .diff .change {
122
- background: #0086b3
93
+ .hljs-emphasis {
94
+ font-style: italic;
123
95
  }
124
96
 
125
- pre .chunk {
126
- color: #aaa
97
+ .hljs-strong {
98
+ font-weight: bold;
127
99
  }