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
+ /* Tomorrow Night Bright Theme */
2
+ /* Original theme - https://github.com/chriskempson/tomorrow-theme */
3
+ /* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
4
+
5
+ /* Tomorrow Comment */
6
+ .hljs-comment,
7
+ .hljs-quote {
8
+ color: #969896;
9
+ }
10
+
11
+ /* Tomorrow Red */
12
+ .hljs-variable,
13
+ .hljs-template-variable,
14
+ .hljs-tag,
15
+ .hljs-name,
16
+ .hljs-selector-id,
17
+ .hljs-selector-class,
18
+ .hljs-regexp,
19
+ .hljs-deletion {
20
+ color: #d54e53;
21
+ }
22
+
23
+ /* Tomorrow Orange */
24
+ .hljs-number,
25
+ .hljs-built_in,
26
+ .hljs-builtin-name,
27
+ .hljs-literal,
28
+ .hljs-type,
29
+ .hljs-params,
30
+ .hljs-meta,
31
+ .hljs-link {
32
+ color: #e78c45;
33
+ }
34
+
35
+ /* Tomorrow Yellow */
36
+ .hljs-attribute {
37
+ color: #e7c547;
38
+ }
39
+
40
+ /* Tomorrow Green */
41
+ .hljs-string,
42
+ .hljs-symbol,
43
+ .hljs-bullet,
44
+ .hljs-addition {
45
+ color: #b9ca4a;
46
+ }
47
+
48
+ /* Tomorrow Blue */
49
+ .hljs-title,
50
+ .hljs-section {
51
+ color: #7aa6da;
52
+ }
53
+
54
+ /* Tomorrow Purple */
55
+ .hljs-keyword,
56
+ .hljs-selector-tag {
57
+ color: #c397d8;
58
+ }
59
+
60
+ .hljs {
61
+ display: block;
62
+ overflow-x: auto;
63
+ background: black;
64
+ color: #eaeaea;
65
+ padding: 0.5em;
66
+ }
67
+
68
+ .hljs-emphasis {
69
+ font-style: italic;
70
+ }
71
+
72
+ .hljs-strong {
73
+ font-weight: bold;
74
+ }
@@ -0,0 +1,74 @@
1
+ /* Tomorrow Night Eighties Theme */
2
+ /* Original theme - https://github.com/chriskempson/tomorrow-theme */
3
+ /* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
4
+
5
+ /* Tomorrow Comment */
6
+ .hljs-comment,
7
+ .hljs-quote {
8
+ color: #999999;
9
+ }
10
+
11
+ /* Tomorrow Red */
12
+ .hljs-variable,
13
+ .hljs-template-variable,
14
+ .hljs-tag,
15
+ .hljs-name,
16
+ .hljs-selector-id,
17
+ .hljs-selector-class,
18
+ .hljs-regexp,
19
+ .hljs-deletion {
20
+ color: #f2777a;
21
+ }
22
+
23
+ /* Tomorrow Orange */
24
+ .hljs-number,
25
+ .hljs-built_in,
26
+ .hljs-builtin-name,
27
+ .hljs-literal,
28
+ .hljs-type,
29
+ .hljs-params,
30
+ .hljs-meta,
31
+ .hljs-link {
32
+ color: #f99157;
33
+ }
34
+
35
+ /* Tomorrow Yellow */
36
+ .hljs-attribute {
37
+ color: #ffcc66;
38
+ }
39
+
40
+ /* Tomorrow Green */
41
+ .hljs-string,
42
+ .hljs-symbol,
43
+ .hljs-bullet,
44
+ .hljs-addition {
45
+ color: #99cc99;
46
+ }
47
+
48
+ /* Tomorrow Blue */
49
+ .hljs-title,
50
+ .hljs-section {
51
+ color: #6699cc;
52
+ }
53
+
54
+ /* Tomorrow Purple */
55
+ .hljs-keyword,
56
+ .hljs-selector-tag {
57
+ color: #cc99cc;
58
+ }
59
+
60
+ .hljs {
61
+ display: block;
62
+ overflow-x: auto;
63
+ background: #2d2d2d;
64
+ color: #cccccc;
65
+ padding: 0.5em;
66
+ }
67
+
68
+ .hljs-emphasis {
69
+ font-style: italic;
70
+ }
71
+
72
+ .hljs-strong {
73
+ font-weight: bold;
74
+ }
@@ -0,0 +1,75 @@
1
+ /* Tomorrow Night Theme */
2
+ /* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
3
+ /* Original theme - https://github.com/chriskempson/tomorrow-theme */
4
+ /* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
5
+
6
+ /* Tomorrow Comment */
7
+ .hljs-comment,
8
+ .hljs-quote {
9
+ color: #969896;
10
+ }
11
+
12
+ /* Tomorrow Red */
13
+ .hljs-variable,
14
+ .hljs-template-variable,
15
+ .hljs-tag,
16
+ .hljs-name,
17
+ .hljs-selector-id,
18
+ .hljs-selector-class,
19
+ .hljs-regexp,
20
+ .hljs-deletion {
21
+ color: #cc6666;
22
+ }
23
+
24
+ /* Tomorrow Orange */
25
+ .hljs-number,
26
+ .hljs-built_in,
27
+ .hljs-builtin-name,
28
+ .hljs-literal,
29
+ .hljs-type,
30
+ .hljs-params,
31
+ .hljs-meta,
32
+ .hljs-link {
33
+ color: #de935f;
34
+ }
35
+
36
+ /* Tomorrow Yellow */
37
+ .hljs-attribute {
38
+ color: #f0c674;
39
+ }
40
+
41
+ /* Tomorrow Green */
42
+ .hljs-string,
43
+ .hljs-symbol,
44
+ .hljs-bullet,
45
+ .hljs-addition {
46
+ color: #b5bd68;
47
+ }
48
+
49
+ /* Tomorrow Blue */
50
+ .hljs-title,
51
+ .hljs-section {
52
+ color: #81a2be;
53
+ }
54
+
55
+ /* Tomorrow Purple */
56
+ .hljs-keyword,
57
+ .hljs-selector-tag {
58
+ color: #b294bb;
59
+ }
60
+
61
+ .hljs {
62
+ display: block;
63
+ overflow-x: auto;
64
+ background: #1d1f21;
65
+ color: #c5c8c6;
66
+ padding: 0.5em;
67
+ }
68
+
69
+ .hljs-emphasis {
70
+ font-style: italic;
71
+ }
72
+
73
+ .hljs-strong {
74
+ font-weight: bold;
75
+ }
@@ -1,49 +1,72 @@
1
1
  /* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
2
- .tomorrow-comment, pre .comment, pre .title {
2
+
3
+ /* Tomorrow Comment */
4
+ .hljs-comment,
5
+ .hljs-quote {
3
6
  color: #8e908c;
4
7
  }
5
8
 
6
- .tomorrow-red, pre .variable, pre .attribute, pre .tag, pre .regexp, pre .ruby .constant, pre .xml .tag .title, pre .xml .pi, pre .xml .doctype, pre .html .doctype, pre .css .id, pre .css .class, pre .css .pseudo {
9
+ /* Tomorrow Red */
10
+ .hljs-variable,
11
+ .hljs-template-variable,
12
+ .hljs-tag,
13
+ .hljs-name,
14
+ .hljs-selector-id,
15
+ .hljs-selector-class,
16
+ .hljs-regexp,
17
+ .hljs-deletion {
7
18
  color: #c82829;
8
19
  }
9
20
 
10
- .tomorrow-orange, pre .number, pre .preprocessor, pre .built_in, pre .literal, pre .params, pre .constant {
21
+ /* Tomorrow Orange */
22
+ .hljs-number,
23
+ .hljs-built_in,
24
+ .hljs-builtin-name,
25
+ .hljs-literal,
26
+ .hljs-type,
27
+ .hljs-params,
28
+ .hljs-meta,
29
+ .hljs-link {
11
30
  color: #f5871f;
12
31
  }
13
32
 
14
- .tomorrow-yellow, pre .class, pre .ruby .class .title, pre .css .rules .attribute {
33
+ /* Tomorrow Yellow */
34
+ .hljs-attribute {
15
35
  color: #eab700;
16
36
  }
17
37
 
18
- .tomorrow-green, pre .string, pre .value, pre .inheritance, pre .header, pre .ruby .symbol, pre .xml .cdata {
38
+ /* Tomorrow Green */
39
+ .hljs-string,
40
+ .hljs-symbol,
41
+ .hljs-bullet,
42
+ .hljs-addition {
19
43
  color: #718c00;
20
44
  }
21
45
 
22
- .tomorrow-aqua, pre .css .hexcolor {
23
- color: #3e999f;
24
- }
25
-
26
- .tomorrow-blue, pre .function, pre .python .decorator, pre .python .title, pre .ruby .function .title, pre .ruby .title .keyword, pre .perl .sub, pre .javascript .title, pre .coffeescript .title {
46
+ /* Tomorrow Blue */
47
+ .hljs-title,
48
+ .hljs-section {
27
49
  color: #4271ae;
28
50
  }
29
51
 
30
- .tomorrow-purple, pre .keyword, pre .javascript .function {
52
+ /* Tomorrow Purple */
53
+ .hljs-keyword,
54
+ .hljs-selector-tag {
31
55
  color: #8959a8;
32
56
  }
33
57
 
34
- pre code {
58
+ .hljs {
35
59
  display: block;
60
+ overflow-x: auto;
36
61
  background: white;
37
62
  color: #4d4d4c;
38
63
  padding: 0.5em;
39
64
  }
40
65
 
41
- pre .coffeescript .javascript,
42
- pre .javascript .xml,
43
- pre .tex .formula,
44
- pre .xml .javascript,
45
- pre .xml .vbscript,
46
- pre .xml .css,
47
- pre .xml .cdata {
48
- opacity: 0.5;
66
+ .hljs-emphasis {
67
+ font-style: italic;
68
+ }
69
+
70
+ .hljs-strong {
71
+ font-weight: bold;
49
72
  }
@@ -3,84 +3,66 @@
3
3
  Visual Studio-like style based on original C# coloring by Jason Diamond <jason@diamond.name>
4
4
 
5
5
  */
6
- pre code {
7
- display: block; padding: 0.5em;
6
+ .hljs {
7
+ display: block;
8
+ overflow-x: auto;
9
+ padding: 0.5em;
10
+ background: white;
11
+ color: black;
8
12
  }
9
13
 
10
- pre .comment,
11
- pre .annotation,
12
- pre .template_comment,
13
- pre .diff .header,
14
- pre .chunk,
15
- pre .apache .cbracket {
16
- color: rgb(0, 128, 0);
14
+ .hljs-comment,
15
+ .hljs-quote,
16
+ .hljs-variable {
17
+ color: #008000;
17
18
  }
18
19
 
19
- pre .keyword,
20
- pre .id,
21
- pre .built_in,
22
- pre .smalltalk .class,
23
- pre .winutils,
24
- pre .bash .variable,
25
- pre .tex .command,
26
- pre .request,
27
- pre .status,
28
- pre .nginx .title,
29
- pre .xml .tag,
30
- pre .xml .tag .value {
31
- color: rgb(0, 0, 255);
20
+ .hljs-keyword,
21
+ .hljs-selector-tag,
22
+ .hljs-built_in,
23
+ .hljs-name,
24
+ .hljs-tag {
25
+ color: #00f;
32
26
  }
33
27
 
34
- pre .string,
35
- pre .title,
36
- pre .parent,
37
- pre .tag .value,
38
- pre .rules .value,
39
- pre .rules .value .number,
40
- pre .ruby .symbol,
41
- pre .ruby .symbol .string,
42
- pre .aggregate,
43
- pre .template_tag,
44
- pre .django .variable,
45
- pre .addition,
46
- pre .flow,
47
- pre .stream,
48
- pre .apache .tag,
49
- pre .date,
50
- pre .tex .formula {
51
- color: rgb(163, 21, 21);
28
+ .hljs-string,
29
+ .hljs-title,
30
+ .hljs-section,
31
+ .hljs-attribute,
32
+ .hljs-literal,
33
+ .hljs-template-tag,
34
+ .hljs-template-variable,
35
+ .hljs-type,
36
+ .hljs-addition {
37
+ color: #a31515;
52
38
  }
53
39
 
54
- pre .ruby .string,
55
- pre .decorator,
56
- pre .filter .argument,
57
- pre .localvars,
58
- pre .array,
59
- pre .attr_selector,
60
- pre .pseudo,
61
- pre .pi,
62
- pre .doctype,
63
- pre .deletion,
64
- pre .envvar,
65
- pre .shebang,
66
- pre .preprocessor,
67
- pre .userType,
68
- pre .apache .sqbracket,
69
- pre .nginx .built_in,
70
- pre .tex .special,
71
- pre .prompt {
72
- color: rgb(43, 145, 175);
40
+ .hljs-deletion,
41
+ .hljs-selector-attr,
42
+ .hljs-selector-pseudo,
43
+ .hljs-meta {
44
+ color: #2b91af;
73
45
  }
74
46
 
75
- pre .phpdoc,
76
- pre .javadoc,
77
- pre .xmlDocTag {
78
- color: rgb(128, 128, 128);
47
+ .hljs-doctag {
48
+ color: #808080;
49
+ }
50
+
51
+ .hljs-attr {
52
+ color: #f00;
53
+ }
54
+
55
+ .hljs-symbol,
56
+ .hljs-bullet,
57
+ .hljs-link {
58
+ color: #00b0e8;
79
59
  }
80
60
 
81
- pre .vhdl .typename { font-weight: bold; }
82
- pre .vhdl .string { color: #666666; }
83
- pre .vhdl .literal { color: rgb(163, 21, 21); }
84
- pre .vhdl .attribute { color: #00B0E8; }
85
61
 
86
- pre .xml .attribute { color: rgb(255, 0, 0); }
62
+ .hljs-emphasis {
63
+ font-style: italic;
64
+ }
65
+
66
+ .hljs-strong {
67
+ font-weight: bold;
68
+ }