highlightjs-rails 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +9 -0
  3. data/.travis.yml +4 -0
  4. data/CODE_OF_CONDUCT.md +49 -0
  5. data/Gemfile +4 -0
  6. data/LICENSE.txt +21 -0
  7. data/README.md +57 -0
  8. data/Rakefile +10 -0
  9. data/VERSION.md +5 -0
  10. data/bin/console +14 -0
  11. data/bin/setup +8 -0
  12. data/highlightjs-rails.gemspec +25 -0
  13. data/lib/highlightjs-rails.rb +7 -0
  14. data/lib/highlightjs-rails/version.rb +5 -0
  15. data/vendor/assets/images/brown-papersq.png +0 -0
  16. data/vendor/assets/images/pojoaque.jpg +0 -0
  17. data/vendor/assets/images/school-book.png +0 -0
  18. data/vendor/assets/javascripts/highlight.js +3006 -0
  19. data/vendor/assets/stylesheets/styles/agate.css +108 -0
  20. data/vendor/assets/stylesheets/styles/androidstudio.css +66 -0
  21. data/vendor/assets/stylesheets/styles/arta.css +73 -0
  22. data/vendor/assets/stylesheets/styles/ascetic.css +45 -0
  23. data/vendor/assets/stylesheets/styles/atelier-cave-dark.css +83 -0
  24. data/vendor/assets/stylesheets/styles/atelier-cave-light.css +85 -0
  25. data/vendor/assets/stylesheets/styles/atelier-dune-dark.css +69 -0
  26. data/vendor/assets/stylesheets/styles/atelier-dune-light.css +69 -0
  27. data/vendor/assets/stylesheets/styles/atelier-estuary-dark.css +84 -0
  28. data/vendor/assets/stylesheets/styles/atelier-estuary-light.css +84 -0
  29. data/vendor/assets/stylesheets/styles/atelier-forest-dark.css +69 -0
  30. data/vendor/assets/stylesheets/styles/atelier-forest-light.css +69 -0
  31. data/vendor/assets/stylesheets/styles/atelier-heath-dark.css +69 -0
  32. data/vendor/assets/stylesheets/styles/atelier-heath-light.css +69 -0
  33. data/vendor/assets/stylesheets/styles/atelier-lakeside-dark.css +69 -0
  34. data/vendor/assets/stylesheets/styles/atelier-lakeside-light.css +69 -0
  35. data/vendor/assets/stylesheets/styles/atelier-plateau-dark.css +84 -0
  36. data/vendor/assets/stylesheets/styles/atelier-plateau-light.css +84 -0
  37. data/vendor/assets/stylesheets/styles/atelier-savanna-dark.css +84 -0
  38. data/vendor/assets/stylesheets/styles/atelier-savanna-light.css +84 -0
  39. data/vendor/assets/stylesheets/styles/atelier-seaside-dark.css +69 -0
  40. data/vendor/assets/stylesheets/styles/atelier-seaside-light.css +69 -0
  41. data/vendor/assets/stylesheets/styles/atelier-sulphurpool-dark.css +69 -0
  42. data/vendor/assets/stylesheets/styles/atelier-sulphurpool-light.css +69 -0
  43. data/vendor/assets/stylesheets/styles/brown-paper.css +64 -0
  44. data/vendor/assets/stylesheets/styles/codepen-embed.css +60 -0
  45. data/vendor/assets/stylesheets/styles/color-brewer.css +71 -0
  46. data/vendor/assets/stylesheets/styles/dark.css +63 -0
  47. data/vendor/assets/stylesheets/styles/darkula.css +74 -0
  48. data/vendor/assets/stylesheets/styles/default.css +77 -0
  49. data/vendor/assets/stylesheets/styles/docco.css +97 -0
  50. data/vendor/assets/stylesheets/styles/far.css +71 -0
  51. data/vendor/assets/stylesheets/styles/foundation.css +88 -0
  52. data/vendor/assets/stylesheets/styles/github-gist.css +71 -0
  53. data/vendor/assets/stylesheets/styles/github.css +99 -0
  54. data/vendor/assets/stylesheets/styles/googlecode.css +89 -0
  55. data/vendor/assets/stylesheets/styles/grayscale.css +101 -0
  56. data/vendor/assets/stylesheets/styles/hopscotch.css +83 -0
  57. data/vendor/assets/stylesheets/styles/hybrid.css +102 -0
  58. data/vendor/assets/stylesheets/styles/idea.css +97 -0
  59. data/vendor/assets/stylesheets/styles/ir-black.css +73 -0
  60. data/vendor/assets/stylesheets/styles/kimbie.dark.css +74 -0
  61. data/vendor/assets/stylesheets/styles/kimbie.light.css +74 -0
  62. data/vendor/assets/stylesheets/styles/magula.css +70 -0
  63. data/vendor/assets/stylesheets/styles/mono-blue.css +59 -0
  64. data/vendor/assets/stylesheets/styles/monokai-sublime.css +83 -0
  65. data/vendor/assets/stylesheets/styles/monokai.css +70 -0
  66. data/vendor/assets/stylesheets/styles/obsidian.css +88 -0
  67. data/vendor/assets/stylesheets/styles/paraiso-dark.css +72 -0
  68. data/vendor/assets/stylesheets/styles/paraiso-light.css +72 -0
  69. data/vendor/assets/stylesheets/styles/pojoaque.css +83 -0
  70. data/vendor/assets/stylesheets/styles/railscasts.css +106 -0
  71. data/vendor/assets/stylesheets/styles/rainbow.css +85 -0
  72. data/vendor/assets/stylesheets/styles/school-book.css +72 -0
  73. data/vendor/assets/stylesheets/styles/solarized-dark.css +84 -0
  74. data/vendor/assets/stylesheets/styles/solarized-light.css +84 -0
  75. data/vendor/assets/stylesheets/styles/sunburst.css +102 -0
  76. data/vendor/assets/stylesheets/styles/tomorrow-night-blue.css +75 -0
  77. data/vendor/assets/stylesheets/styles/tomorrow-night-bright.css +74 -0
  78. data/vendor/assets/stylesheets/styles/tomorrow-night-eighties.css +74 -0
  79. data/vendor/assets/stylesheets/styles/tomorrow-night.css +75 -0
  80. data/vendor/assets/stylesheets/styles/tomorrow.css +72 -0
  81. data/vendor/assets/stylesheets/styles/vs.css +68 -0
  82. data/vendor/assets/stylesheets/styles/xcode.css +93 -0
  83. data/vendor/assets/stylesheets/styles/zenburn.css +80 -0
  84. metadata +170 -0
@@ -0,0 +1,72 @@
1
+ /*
2
+ Paraíso (light)
3
+ Created by Jan T. Sott (http://github.com/idleberg)
4
+ Inspired by the art of Rubens LP (http://www.rubenslp.com.br)
5
+ */
6
+
7
+ /* Paraíso Comment */
8
+ .hljs-comment,
9
+ .hljs-quote {
10
+ color: #776e71;
11
+ }
12
+
13
+ /* Paraíso Red */
14
+ .hljs-variable,
15
+ .hljs-template-variable,
16
+ .hljs-tag,
17
+ .hljs-name,
18
+ .hljs-selector-id,
19
+ .hljs-selector-class,
20
+ .hljs-regexp,
21
+ .hljs-link,
22
+ .hljs-meta {
23
+ color: #ef6155;
24
+ }
25
+
26
+ /* Paraíso 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
+ color: #f99b15;
35
+ }
36
+
37
+ /* Paraíso Yellow */
38
+ .hljs-title,
39
+ .hljs-section,
40
+ .hljs-attribute {
41
+ color: #fec418;
42
+ }
43
+
44
+ /* Paraíso Green */
45
+ .hljs-string,
46
+ .hljs-symbol,
47
+ .hljs-bullet,
48
+ .hljs-addition {
49
+ color: #48b685;
50
+ }
51
+
52
+ /* Paraíso Purple */
53
+ .hljs-keyword,
54
+ .hljs-selector-tag {
55
+ color: #815ba4;
56
+ }
57
+
58
+ .hljs {
59
+ display: block;
60
+ overflow-x: auto;
61
+ background: #e7e9db;
62
+ color: #4f424c;
63
+ padding: 0.5em;
64
+ }
65
+
66
+ .hljs-emphasis {
67
+ font-style: italic;
68
+ }
69
+
70
+ .hljs-strong {
71
+ font-weight: bold;
72
+ }
@@ -0,0 +1,83 @@
1
+ /*
2
+
3
+ Pojoaque Style by Jason Tate
4
+ http://web-cms-designs.com/ftopict-10-pojoaque-style-for-highlight-js-code-highlighter.html
5
+ Based on Solarized Style from http://ethanschoonover.com/solarized
6
+
7
+ */
8
+
9
+ .hljs {
10
+ display: block;
11
+ overflow-x: auto;
12
+ padding: 0.5em;
13
+ color: #dccf8f;
14
+ background: url(./pojoaque.jpg) repeat scroll left top #181914;
15
+ }
16
+
17
+ .hljs-comment,
18
+ .hljs-quote {
19
+ color: #586e75;
20
+ font-style: italic;
21
+ }
22
+
23
+ .hljs-keyword,
24
+ .hljs-selector-tag,
25
+ .hljs-literal,
26
+ .hljs-addition {
27
+ color: #b64926;
28
+ }
29
+
30
+ .hljs-number,
31
+ .hljs-string,
32
+ .hljs-doctag,
33
+ .hljs-regexp {
34
+ color: #468966;
35
+ }
36
+
37
+ .hljs-title,
38
+ .hljs-section,
39
+ .hljs-built_in,
40
+ .hljs-name {
41
+ color: #ffb03b;
42
+ }
43
+
44
+ .hljs-variable,
45
+ .hljs-template-variable,
46
+ .hljs-class .hljs-title,
47
+ .hljs-type,
48
+ .hljs-tag {
49
+ color: #b58900;
50
+ }
51
+
52
+ .hljs-attribute {
53
+ color: #b89859;
54
+ }
55
+
56
+ .hljs-symbol,
57
+ .hljs-bullet,
58
+ .hljs-link,
59
+ .hljs-subst,
60
+ .hljs-meta {
61
+ color: #cb4b16;
62
+ }
63
+
64
+ .hljs-deletion {
65
+ color: #dc322f;
66
+ }
67
+
68
+ .hljs-selector-id,
69
+ .hljs-selector-class {
70
+ color: #d3a60c;
71
+ }
72
+
73
+ .hljs-formula {
74
+ background: #073642;
75
+ }
76
+
77
+ .hljs-emphasis {
78
+ font-style: italic;
79
+ }
80
+
81
+ .hljs-strong {
82
+ font-weight: bold;
83
+ }
@@ -0,0 +1,106 @@
1
+ /*
2
+
3
+ Railscasts-like style (c) Visoft, Inc. (Damien White)
4
+
5
+ */
6
+
7
+ .hljs {
8
+ display: block;
9
+ overflow-x: auto;
10
+ padding: 0.5em;
11
+ background: #232323;
12
+ color: #e6e1dc;
13
+ }
14
+
15
+ .hljs-comment,
16
+ .hljs-quote {
17
+ color: #bc9458;
18
+ font-style: italic;
19
+ }
20
+
21
+ .hljs-keyword,
22
+ .hljs-selector-tag {
23
+ color: #c26230;
24
+ }
25
+
26
+ .hljs-string,
27
+ .hljs-number,
28
+ .hljs-regexp,
29
+ .hljs-variable,
30
+ .hljs-template-variable {
31
+ color: #a5c261;
32
+ }
33
+
34
+ .hljs-subst {
35
+ color: #519f50;
36
+ }
37
+
38
+ .hljs-tag,
39
+ .hljs-name {
40
+ color: #e8bf6a;
41
+ }
42
+
43
+ .hljs-type {
44
+ color: #da4939;
45
+ }
46
+
47
+
48
+ .hljs-symbol,
49
+ .hljs-bullet,
50
+ .hljs-built_in,
51
+ .hljs-builtin-name,
52
+ .hljs-attr,
53
+ .hljs-link {
54
+ color: #6d9cbe;
55
+ }
56
+
57
+ .hljs-params {
58
+ color: #d0d0ff;
59
+ }
60
+
61
+ .hljs-attribute {
62
+ color: #cda869;
63
+ }
64
+
65
+ .hljs-meta {
66
+ color: #9b859d;
67
+ }
68
+
69
+ .hljs-title,
70
+ .hljs-section {
71
+ color: #ffc66d;
72
+ }
73
+
74
+ .hljs-addition {
75
+ background-color: #144212;
76
+ color: #e6e1dc;
77
+ display: inline-block;
78
+ width: 100%;
79
+ }
80
+
81
+ .hljs-deletion {
82
+ background-color: #600;
83
+ color: #e6e1dc;
84
+ display: inline-block;
85
+ width: 100%;
86
+ }
87
+
88
+ .hljs-selector-class {
89
+ color: #9b703f;
90
+ }
91
+
92
+ .hljs-selector-id {
93
+ color: #8b98ab;
94
+ }
95
+
96
+ .hljs-emphasis {
97
+ font-style: italic;
98
+ }
99
+
100
+ .hljs-strong {
101
+ font-weight: bold;
102
+ }
103
+
104
+ .hljs-link {
105
+ text-decoration: underline;
106
+ }
@@ -0,0 +1,85 @@
1
+ /*
2
+
3
+ Style with support for rainbow parens
4
+
5
+ */
6
+
7
+ .hljs {
8
+ display: block;
9
+ overflow-x: auto;
10
+ padding: 0.5em;
11
+ background: #474949;
12
+ color: #d1d9e1;
13
+ }
14
+
15
+
16
+ .hljs-comment,
17
+ .hljs-quote {
18
+ color: #969896;
19
+ font-style: italic;
20
+ }
21
+
22
+ .hljs-keyword,
23
+ .hljs-selector-tag,
24
+ .hljs-literal,
25
+ .hljs-type,
26
+ .hljs-addition {
27
+ color: #cc99cc;
28
+ }
29
+
30
+ .hljs-number,
31
+ .hljs-selector-attr,
32
+ .hljs-selector-pseudo {
33
+ color: #f99157;
34
+ }
35
+
36
+ .hljs-string,
37
+ .hljs-doctag,
38
+ .hljs-regexp {
39
+ color: #8abeb7;
40
+ }
41
+
42
+ .hljs-title,
43
+ .hljs-name,
44
+ .hljs-section,
45
+ .hljs-built_in {
46
+ color: #b5bd68;
47
+ }
48
+
49
+ .hljs-variable,
50
+ .hljs-template-variable,
51
+ .hljs-selector-id,
52
+ .hljs-class .hljs-title {
53
+ color: #ffcc66;
54
+ }
55
+
56
+ .hljs-section,
57
+ .hljs-name,
58
+ .hljs-strong {
59
+ font-weight: bold;
60
+ }
61
+
62
+ .hljs-symbol,
63
+ .hljs-bullet,
64
+ .hljs-subst,
65
+ .hljs-meta,
66
+ .hljs-link {
67
+ color: #f99157;
68
+ }
69
+
70
+ .hljs-deletion {
71
+ color: #dc322f;
72
+ }
73
+
74
+ .hljs-formula {
75
+ background: #eee8d5;
76
+ }
77
+
78
+ .hljs-attr,
79
+ .hljs-attribute {
80
+ color: #81a2be;
81
+ }
82
+
83
+ .hljs-emphasis {
84
+ font-style: italic;
85
+ }
@@ -0,0 +1,72 @@
1
+ /*
2
+
3
+ School Book style from goldblog.com.ua (c) Zaripov Yura <yur4ik7@ukr.net>
4
+
5
+ */
6
+
7
+ .hljs {
8
+ display: block;
9
+ overflow-x: auto;
10
+ padding: 15px 0.5em 0.5em 30px;
11
+ font-size: 11px;
12
+ line-height:16px;
13
+ }
14
+
15
+ pre{
16
+ background:#f6f6ae url(./school-book.png);
17
+ border-top: solid 2px #d2e8b9;
18
+ border-bottom: solid 1px #d2e8b9;
19
+ }
20
+
21
+ .hljs-keyword,
22
+ .hljs-selector-tag,
23
+ .hljs-literal {
24
+ color:#005599;
25
+ font-weight:bold;
26
+ }
27
+
28
+ .hljs,
29
+ .hljs-subst {
30
+ color: #3e5915;
31
+ }
32
+
33
+ .hljs-string,
34
+ .hljs-title,
35
+ .hljs-section,
36
+ .hljs-type,
37
+ .hljs-symbol,
38
+ .hljs-bullet,
39
+ .hljs-attribute,
40
+ .hljs-built_in,
41
+ .hljs-builtin-name,
42
+ .hljs-addition,
43
+ .hljs-variable,
44
+ .hljs-template-tag,
45
+ .hljs-template-variable,
46
+ .hljs-link {
47
+ color: #2c009f;
48
+ }
49
+
50
+ .hljs-comment,
51
+ .hljs-quote,
52
+ .hljs-deletion,
53
+ .hljs-meta {
54
+ color: #e60415;
55
+ }
56
+
57
+ .hljs-keyword,
58
+ .hljs-selector-tag,
59
+ .hljs-literal,
60
+ .hljs-doctag,
61
+ .hljs-title,
62
+ .hljs-section,
63
+ .hljs-type,
64
+ .hljs-name,
65
+ .hljs-selector-id,
66
+ .hljs-strong {
67
+ font-weight: bold;
68
+ }
69
+
70
+ .hljs-emphasis {
71
+ font-style: italic;
72
+ }
@@ -0,0 +1,84 @@
1
+ /*
2
+
3
+ Orginal Style from ethanschoonover.com/solarized (c) Jeremy Hull <sourdrums@gmail.com>
4
+
5
+ */
6
+
7
+ .hljs {
8
+ display: block;
9
+ overflow-x: auto;
10
+ padding: 0.5em;
11
+ background: #002b36;
12
+ color: #839496;
13
+ }
14
+
15
+ .hljs-comment,
16
+ .hljs-quote {
17
+ color: #586e75;
18
+ }
19
+
20
+ /* Solarized Green */
21
+ .hljs-keyword,
22
+ .hljs-selector-tag,
23
+ .hljs-addition {
24
+ color: #859900;
25
+ }
26
+
27
+ /* Solarized Cyan */
28
+ .hljs-number,
29
+ .hljs-string,
30
+ .hljs-meta .hljs-meta-string,
31
+ .hljs-literal,
32
+ .hljs-doctag,
33
+ .hljs-regexp {
34
+ color: #2aa198;
35
+ }
36
+
37
+ /* Solarized Blue */
38
+ .hljs-title,
39
+ .hljs-section,
40
+ .hljs-name,
41
+ .hljs-selector-id,
42
+ .hljs-selector-class {
43
+ color: #268bd2;
44
+ }
45
+
46
+ /* Solarized Yellow */
47
+ .hljs-attribute,
48
+ .hljs-attr,
49
+ .hljs-variable,
50
+ .hljs-template-variable,
51
+ .hljs-class .hljs-title,
52
+ .hljs-type {
53
+ color: #b58900;
54
+ }
55
+
56
+ /* Solarized Orange */
57
+ .hljs-symbol,
58
+ .hljs-bullet,
59
+ .hljs-subst,
60
+ .hljs-meta,
61
+ .hljs-meta .hljs-keyword,
62
+ .hljs-selector-attr,
63
+ .hljs-selector-pseudo,
64
+ .hljs-link {
65
+ color: #cb4b16;
66
+ }
67
+
68
+ /* Solarized Red */
69
+ .hljs-built_in,
70
+ .hljs-deletion {
71
+ color: #dc322f;
72
+ }
73
+
74
+ .hljs-formula {
75
+ background: #073642;
76
+ }
77
+
78
+ .hljs-emphasis {
79
+ font-style: italic;
80
+ }
81
+
82
+ .hljs-strong {
83
+ font-weight: bold;
84
+ }