vditor 3.8.7 → 3.8.11

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 (68) hide show
  1. package/README.md +13 -13
  2. package/dist/index.css +2 -2
  3. package/dist/index.min.js +1 -15353
  4. package/dist/js/highlight.js/styles/abap.css +7 -96
  5. package/dist/js/highlight.js/styles/algol.css +7 -104
  6. package/dist/js/highlight.js/styles/algol_nu.css +7 -52
  7. package/dist/js/highlight.js/styles/arduino.css +7 -95
  8. package/dist/js/highlight.js/styles/autumn.css +7 -76
  9. package/dist/js/highlight.js/styles/borland.css +7 -94
  10. package/dist/js/highlight.js/styles/bw.css +7 -108
  11. package/dist/js/highlight.js/styles/colorful.css +7 -90
  12. package/dist/js/highlight.js/styles/dracula.css +9 -86
  13. package/dist/js/highlight.js/styles/emacs.css +7 -103
  14. package/dist/js/highlight.js/styles/friendly.css +7 -119
  15. package/dist/js/highlight.js/styles/fruity.css +7 -76
  16. package/dist/js/highlight.js/styles/github.css +7 -106
  17. package/dist/js/highlight.js/styles/igor.css +7 -90
  18. package/dist/js/highlight.js/styles/lovelace.css +7 -77
  19. package/dist/js/highlight.js/styles/manni.css +7 -75
  20. package/dist/js/highlight.js/styles/monokai.css +7 -77
  21. package/dist/js/highlight.js/styles/monokailight.css +7 -114
  22. package/dist/js/highlight.js/styles/murphy.css +7 -78
  23. package/dist/js/highlight.js/styles/native.css +7 -103
  24. package/dist/js/highlight.js/styles/paraiso-dark.css +7 -79
  25. package/dist/js/highlight.js/styles/paraiso-light.css +7 -78
  26. package/dist/js/highlight.js/styles/pastie.css +7 -115
  27. package/dist/js/highlight.js/styles/perldoc.css +7 -80
  28. package/dist/js/highlight.js/styles/pygments.css +7 -95
  29. package/dist/js/highlight.js/styles/rainbow_dash.css +7 -103
  30. package/dist/js/highlight.js/styles/rrt.css +7 -119
  31. package/dist/js/highlight.js/styles/solarized-dark.css +7 -91
  32. package/dist/js/highlight.js/styles/solarized-dark256.css +7 -90
  33. package/dist/js/highlight.js/styles/solarized-light.css +7 -90
  34. package/dist/js/highlight.js/styles/swapoff.css +7 -99
  35. package/dist/js/highlight.js/styles/tango.css +7 -106
  36. package/dist/js/highlight.js/styles/trac.css +7 -105
  37. package/dist/js/highlight.js/styles/vim.css +7 -89
  38. package/dist/js/highlight.js/styles/vs.css +7 -75
  39. package/dist/js/highlight.js/styles/xcode.css +7 -111
  40. package/dist/js/i18n/zh_CN.js +1 -1
  41. package/dist/js/katex/mhchem.min.js +1 -0
  42. package/dist/js/lute/lute.min.js +9 -8
  43. package/dist/method.min.js +1 -2346
  44. package/dist/ts/ui/initUI.d.ts +1 -0
  45. package/dist/ts/wysiwyg/index.d.ts +2 -0
  46. package/dist/types/index.d.ts +4 -3
  47. package/package.json +7 -7
  48. package/src/index.ts +12 -2
  49. package/src/ts/.DS_Store +0 -0
  50. package/src/ts/hint/index.ts +20 -11
  51. package/src/ts/markdown/codeRender.ts +8 -4
  52. package/src/ts/markdown/mathRender.ts +29 -27
  53. package/src/ts/markdown/outlineRender.ts +5 -1
  54. package/src/ts/markdown/previewRender.ts +12 -4
  55. package/src/ts/markdown/speechRender.ts +6 -2
  56. package/src/ts/preview/index.ts +0 -1
  57. package/src/ts/toolbar/Info.ts +1 -1
  58. package/src/ts/ui/initUI.ts +19 -5
  59. package/src/ts/upload/index.ts +4 -4
  60. package/src/ts/util/editorCommonEvent.ts +2 -2
  61. package/src/ts/util/fixBrowserBehavior.ts +4 -4
  62. package/src/ts/wysiwyg/highlightToolbarWYSIWYG.ts +12 -5
  63. package/src/ts/wysiwyg/index.ts +8 -2
  64. package/CHANGELOG.md +0 -1072
  65. package/dist/images/.DS_Store +0 -0
  66. package/dist/js/.DS_Store +0 -0
  67. package/dist/js/lute/.DS_Store +0 -0
  68. package/dist/js/mathjax/.DS_Store +0 -0
@@ -1,10 +1,12 @@
1
- /* Background */ .highlight-chroma { background-color: #f6f8fa }
1
+ /* Background */ .highlight-bg { background-color: #ffffff }
2
+ /* PreWrapper */ .highlight-chroma { background-color: #ffffff; }
2
3
  /* Error */ .highlight-chroma .highlight-err { color: #a61717; background-color: #e3d2d2 }
3
4
  /* LineTableTD */ .highlight-chroma .highlight-lntd { vertical-align: top; padding: 0; margin: 0; border: 0; }
4
- /* LineTable */ .highlight-chroma .highlight-lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; width: auto; overflow: auto; display: block; }
5
- /* LineHighlight */ .highlight-chroma .highlight-hl { display: block; width: 100%;background-color: #e5e5e5 }
6
- /* LineNumbersTable */ .highlight-chroma .highlight-lnt { margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
7
- /* LineNumbers */ .highlight-chroma .highlight-ln { margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
5
+ /* LineTable */ .highlight-chroma .highlight-lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; }
6
+ /* LineHighlight */ .highlight-chroma .highlight-hl { background-color: #e5e5e5 }
7
+ /* LineNumbersTable */ .highlight-chroma .highlight-lnt { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
8
+ /* LineNumbers */ .highlight-chroma .highlight-ln { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
9
+ /* Line */ .highlight-chroma .highlight-line { display: flex; }
8
10
  /* Keyword */ .highlight-chroma .highlight-k { color: #000000; font-weight: bold }
9
11
  /* KeywordConstant */ .highlight-chroma .highlight-kc { color: #000000; font-weight: bold }
10
12
  /* KeywordDeclaration */ .highlight-chroma .highlight-kd { color: #000000; font-weight: bold }
@@ -70,104 +72,3 @@
70
72
  /* GenericTraceback */ .highlight-chroma .highlight-gt { color: #aa0000 }
71
73
  /* GenericUnderline */ .highlight-chroma .highlight-gl { text-decoration: underline }
72
74
  /* TextWhitespace */ .highlight-chroma .highlight-w { color: #bbbbbb }
73
-
74
- /*
75
-
76
- github.com style (c) Vasily Polovnyov <vast@whiteants.net>
77
-
78
- */
79
-
80
- .hljs {
81
- display: block;
82
- overflow-x: auto;
83
- padding: 0.5em;
84
- color: #333;
85
- background: #f8f8f8;
86
- }
87
-
88
- .hljs-comment,
89
- .hljs-quote {
90
- color: #998;
91
- font-style: italic;
92
- }
93
-
94
- .hljs-keyword,
95
- .hljs-selector-tag,
96
- .hljs-subst {
97
- color: #333;
98
- font-weight: bold;
99
- }
100
-
101
- .hljs-number,
102
- .hljs-literal,
103
- .hljs-variable,
104
- .hljs-template-variable,
105
- .hljs-tag .hljs-attr {
106
- color: #008080;
107
- }
108
-
109
- .hljs-string,
110
- .hljs-doctag {
111
- color: #d14;
112
- }
113
-
114
- .hljs-title,
115
- .hljs-section,
116
- .hljs-selector-id {
117
- color: #900;
118
- font-weight: bold;
119
- }
120
-
121
- .hljs-subst {
122
- font-weight: normal;
123
- }
124
-
125
- .hljs-type,
126
- .hljs-class .hljs-title {
127
- color: #458;
128
- font-weight: bold;
129
- }
130
-
131
- .hljs-tag,
132
- .hljs-name,
133
- .hljs-attribute {
134
- color: #000080;
135
- font-weight: normal;
136
- }
137
-
138
- .hljs-regexp,
139
- .hljs-link {
140
- color: #009926;
141
- }
142
-
143
- .hljs-symbol,
144
- .hljs-bullet {
145
- color: #990073;
146
- }
147
-
148
- .hljs-built_in,
149
- .hljs-builtin-name {
150
- color: #0086b3;
151
- }
152
-
153
- .hljs-meta {
154
- color: #999;
155
- font-weight: bold;
156
- }
157
-
158
- .hljs-deletion {
159
- background: #fdd;
160
- }
161
-
162
- .hljs-addition {
163
- background: #dfd;
164
- }
165
-
166
- .hljs-emphasis {
167
- font-style: italic;
168
- }
169
-
170
- .hljs-strong {
171
- font-weight: bold;
172
- }
173
-
@@ -1,9 +1,11 @@
1
- /* Background */ .highlight-chroma { background-color: #ffffff }
1
+ /* Background */ .highlight-bg { background-color: #ffffff }
2
+ /* PreWrapper */ .highlight-chroma { background-color: #ffffff; }
2
3
  /* LineTableTD */ .highlight-chroma .highlight-lntd { vertical-align: top; padding: 0; margin: 0; border: 0; }
3
- /* LineTable */ .highlight-chroma .highlight-lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; width: auto; overflow: auto; display: block; }
4
- /* LineHighlight */ .highlight-chroma .highlight-hl { display: block; width: 100%;background-color: #e5e5e5 }
5
- /* LineNumbersTable */ .highlight-chroma .highlight-lnt { margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
6
- /* LineNumbers */ .highlight-chroma .highlight-ln { margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
4
+ /* LineTable */ .highlight-chroma .highlight-lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; }
5
+ /* LineHighlight */ .highlight-chroma .highlight-hl { background-color: #e5e5e5 }
6
+ /* LineNumbersTable */ .highlight-chroma .highlight-lnt { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
7
+ /* LineNumbers */ .highlight-chroma .highlight-ln { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
8
+ /* Line */ .highlight-chroma .highlight-line { display: flex; }
7
9
  /* Keyword */ .highlight-chroma .highlight-k { color: #0000ff }
8
10
  /* KeywordConstant */ .highlight-chroma .highlight-kc { color: #0000ff }
9
11
  /* KeywordDeclaration */ .highlight-chroma .highlight-kd { color: #0000ff }
@@ -35,88 +37,3 @@
35
37
  /* CommentSpecial */ .highlight-chroma .highlight-cs { color: #ff0000; font-style: italic }
36
38
  /* CommentPreproc */ .highlight-chroma .highlight-cp { color: #ff0000; font-style: italic }
37
39
  /* CommentPreprocFile */ .highlight-chroma .highlight-cpf { color: #ff0000; font-style: italic }
38
-
39
- /*
40
-
41
- Qt Creator light color scheme
42
-
43
- */
44
-
45
-
46
- .hljs {
47
- display: block;
48
- overflow-x: auto;
49
- padding: 0.5em;
50
- background: #ffffff;
51
- }
52
-
53
- .hljs,
54
- .hljs-subst,
55
- .hljs-tag,
56
- .hljs-title {
57
- color: #000000;
58
- }
59
-
60
- .hljs-strong,
61
- .hljs-emphasis {
62
- color: #000000;
63
- }
64
-
65
- .hljs-bullet,
66
- .hljs-quote,
67
- .hljs-number,
68
- .hljs-regexp,
69
- .hljs-literal {
70
- color: #000080;
71
- }
72
-
73
- .hljs-code
74
- .hljs-selector-class {
75
- color: #800080;
76
- }
77
-
78
- .hljs-emphasis,
79
- .hljs-stronge,
80
- .hljs-type {
81
- font-style: italic;
82
- }
83
-
84
- .hljs-keyword,
85
- .hljs-selector-tag,
86
- .hljs-function,
87
- .hljs-section,
88
- .hljs-symbol,
89
- .hljs-name {
90
- color: #808000;
91
- }
92
-
93
- .hljs-attribute {
94
- color: #800000;
95
- }
96
-
97
- .hljs-variable,
98
- .hljs-params,
99
- .hljs-class .hljs-title {
100
- color: #0055AF;
101
- }
102
-
103
- .hljs-string,
104
- .hljs-selector-id,
105
- .hljs-selector-attr,
106
- .hljs-selector-pseudo,
107
- .hljs-type,
108
- .hljs-built_in,
109
- .hljs-builtin-name,
110
- .hljs-template-tag,
111
- .hljs-template-variable,
112
- .hljs-addition,
113
- .hljs-link {
114
- color: #008000;
115
- }
116
-
117
- .hljs-comment,
118
- .hljs-meta,
119
- .hljs-deletion {
120
- color: #008000;
121
- }
122
-
@@ -1,10 +1,12 @@
1
- /* Background */ .highlight-chroma { background-color: #ffffff }
1
+ /* Background */ .highlight-bg { background-color: #ffffff }
2
+ /* PreWrapper */ .highlight-chroma { background-color: #ffffff; }
2
3
  /* Error */ .highlight-chroma .highlight-err { background-color: #a848a8 }
3
4
  /* LineTableTD */ .highlight-chroma .highlight-lntd { vertical-align: top; padding: 0; margin: 0; border: 0; }
4
- /* LineTable */ .highlight-chroma .highlight-lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; width: auto; overflow: auto; display: block; }
5
- /* LineHighlight */ .highlight-chroma .highlight-hl { display: block; width: 100%;background-color: #e5e5e5 }
6
- /* LineNumbersTable */ .highlight-chroma .highlight-lnt { margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
7
- /* LineNumbers */ .highlight-chroma .highlight-ln { margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
5
+ /* LineTable */ .highlight-chroma .highlight-lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; }
6
+ /* LineHighlight */ .highlight-chroma .highlight-hl { background-color: #e5e5e5 }
7
+ /* LineNumbersTable */ .highlight-chroma .highlight-lnt { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
8
+ /* LineNumbers */ .highlight-chroma .highlight-ln { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
9
+ /* Line */ .highlight-chroma .highlight-line { display: flex; }
8
10
  /* Keyword */ .highlight-chroma .highlight-k { color: #2838b0 }
9
11
  /* KeywordConstant */ .highlight-chroma .highlight-kc { color: #444444; font-style: italic }
10
12
  /* KeywordDeclaration */ .highlight-chroma .highlight-kd { color: #2838b0; font-style: italic }
@@ -71,75 +73,3 @@
71
73
  /* GenericTraceback */ .highlight-chroma .highlight-gt { color: #2838b0 }
72
74
  /* GenericUnderline */ .highlight-chroma .highlight-gl { text-decoration: underline }
73
75
  /* TextWhitespace */ .highlight-chroma .highlight-w { color: #a89028 }
74
-
75
- /*
76
- Description: Magula style for highligh.js
77
- Author: Ruslan Keba <rukeba@gmail.com>
78
- Website: http://rukeba.com/
79
- Version: 1.0
80
- Date: 2009-01-03
81
- Music: Aphex Twin / Xtal
82
- */
83
-
84
- .hljs {
85
- display: block;
86
- overflow-x: auto;
87
- padding: 0.5em;
88
- background-color: #f4f4f4;
89
- }
90
-
91
- .hljs,
92
- .hljs-subst {
93
- color: black;
94
- }
95
-
96
- .hljs-string,
97
- .hljs-title,
98
- .hljs-symbol,
99
- .hljs-bullet,
100
- .hljs-attribute,
101
- .hljs-addition,
102
- .hljs-variable,
103
- .hljs-template-tag,
104
- .hljs-template-variable {
105
- color: #050;
106
- }
107
-
108
- .hljs-comment,
109
- .hljs-quote {
110
- color: #777;
111
- }
112
-
113
- .hljs-number,
114
- .hljs-regexp,
115
- .hljs-literal,
116
- .hljs-type,
117
- .hljs-link {
118
- color: #800;
119
- }
120
-
121
- .hljs-deletion,
122
- .hljs-meta {
123
- color: #00e;
124
- }
125
-
126
- .hljs-keyword,
127
- .hljs-selector-tag,
128
- .hljs-doctag,
129
- .hljs-title,
130
- .hljs-section,
131
- .hljs-built_in,
132
- .hljs-tag,
133
- .hljs-name {
134
- font-weight: bold;
135
- color: navy;
136
- }
137
-
138
- .hljs-emphasis {
139
- font-style: italic;
140
- }
141
-
142
- .hljs-strong {
143
- font-weight: bold;
144
- }
145
-
@@ -1,10 +1,12 @@
1
- /* Background */ .highlight-chroma { background-color: #f0f3f3 }
1
+ /* Background */ .highlight-bg { background-color: #f0f3f3 }
2
+ /* PreWrapper */ .highlight-chroma { background-color: #f0f3f3; }
2
3
  /* Error */ .highlight-chroma .highlight-err { color: #aa0000; background-color: #ffaaaa }
3
4
  /* LineTableTD */ .highlight-chroma .highlight-lntd { vertical-align: top; padding: 0; margin: 0; border: 0; }
4
- /* LineTable */ .highlight-chroma .highlight-lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; width: auto; overflow: auto; display: block; }
5
- /* LineHighlight */ .highlight-chroma .highlight-hl { display: block; width: 100%;background-color: #d8dada }
6
- /* LineNumbersTable */ .highlight-chroma .highlight-lnt { margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
7
- /* LineNumbers */ .highlight-chroma .highlight-ln { margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
5
+ /* LineTable */ .highlight-chroma .highlight-lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; }
6
+ /* LineHighlight */ .highlight-chroma .highlight-hl { background-color: #d8dada }
7
+ /* LineNumbersTable */ .highlight-chroma .highlight-lnt { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
8
+ /* LineNumbers */ .highlight-chroma .highlight-ln { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
9
+ /* Line */ .highlight-chroma .highlight-line { display: flex; }
8
10
  /* Keyword */ .highlight-chroma .highlight-k { color: #006699; font-weight: bold }
9
11
  /* KeywordConstant */ .highlight-chroma .highlight-kc { color: #006699; font-weight: bold }
10
12
  /* KeywordDeclaration */ .highlight-chroma .highlight-kd { color: #006699; font-weight: bold }
@@ -66,73 +68,3 @@
66
68
  /* GenericTraceback */ .highlight-chroma .highlight-gt { color: #99cc66 }
67
69
  /* GenericUnderline */ .highlight-chroma .highlight-gl { text-decoration: underline }
68
70
  /* TextWhitespace */ .highlight-chroma .highlight-w { color: #bbbbbb }
69
-
70
- /* Base16 Atelier Sulphurpool Light - Theme */
71
- /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/sulphurpool) */
72
- /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */
73
-
74
- /* Atelier-Sulphurpool Comment */
75
- .hljs-comment,
76
- .hljs-quote {
77
- color: #6b7394;
78
- }
79
-
80
- /* Atelier-Sulphurpool Red */
81
- .hljs-variable,
82
- .hljs-template-variable,
83
- .hljs-attribute,
84
- .hljs-tag,
85
- .hljs-name,
86
- .hljs-regexp,
87
- .hljs-link,
88
- .hljs-name,
89
- .hljs-selector-id,
90
- .hljs-selector-class {
91
- color: #c94922;
92
- }
93
-
94
- /* Atelier-Sulphurpool Orange */
95
- .hljs-number,
96
- .hljs-meta,
97
- .hljs-built_in,
98
- .hljs-builtin-name,
99
- .hljs-literal,
100
- .hljs-type,
101
- .hljs-params {
102
- color: #c76b29;
103
- }
104
-
105
- /* Atelier-Sulphurpool Green */
106
- .hljs-string,
107
- .hljs-symbol,
108
- .hljs-bullet {
109
- color: #ac9739;
110
- }
111
-
112
- /* Atelier-Sulphurpool Blue */
113
- .hljs-title,
114
- .hljs-section {
115
- color: #3d8fd1;
116
- }
117
-
118
- /* Atelier-Sulphurpool Purple */
119
- .hljs-keyword,
120
- .hljs-selector-tag {
121
- color: #6679cc;
122
- }
123
-
124
- .hljs {
125
- display: block;
126
- overflow-x: auto;
127
- background: #f5f7ff;
128
- color: #5e6687;
129
- padding: 0.5em;
130
- }
131
-
132
- .hljs-emphasis {
133
- font-style: italic;
134
- }
135
-
136
- .hljs-strong {
137
- font-weight: bold;
138
- }
@@ -1,10 +1,12 @@
1
- /* Background */ .highlight-chroma { color: #f8f8f2; background-color: #272822 }
1
+ /* Background */ .highlight-bg { color: #f8f8f2; background-color: #272822 }
2
+ /* PreWrapper */ .highlight-chroma { color: #f8f8f2; background-color: #272822; }
2
3
  /* Error */ .highlight-chroma .highlight-err { color: #960050; background-color: #1e0010 }
3
4
  /* LineTableTD */ .highlight-chroma .highlight-lntd { vertical-align: top; padding: 0; margin: 0; border: 0; }
4
- /* LineTable */ .highlight-chroma .highlight-lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; width: auto; overflow: auto; display: block; }
5
- /* LineHighlight */ .highlight-chroma .highlight-hl { display: block; width: 100%;background-color: #3c3d38 }
6
- /* LineNumbersTable */ .highlight-chroma .highlight-lnt { margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
7
- /* LineNumbers */ .highlight-chroma .highlight-ln { margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
5
+ /* LineTable */ .highlight-chroma .highlight-lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; }
6
+ /* LineHighlight */ .highlight-chroma .highlight-hl { background-color: #3c3d38 }
7
+ /* LineNumbersTable */ .highlight-chroma .highlight-lnt { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
8
+ /* LineNumbers */ .highlight-chroma .highlight-ln { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
9
+ /* Line */ .highlight-chroma .highlight-line { display: flex; }
8
10
  /* Keyword */ .highlight-chroma .highlight-k { color: #66d9ef }
9
11
  /* KeywordConstant */ .highlight-chroma .highlight-kc { color: #66d9ef }
10
12
  /* KeywordDeclaration */ .highlight-chroma .highlight-kd { color: #66d9ef }
@@ -57,75 +59,3 @@
57
59
  /* GenericInserted */ .highlight-chroma .highlight-gi { color: #a6e22e }
58
60
  /* GenericStrong */ .highlight-chroma .highlight-gs { font-weight: bold }
59
61
  /* GenericSubheading */ .highlight-chroma .highlight-gu { color: #75715e }
60
-
61
- /*
62
- Monokai style - ported by Luigi Maselli - http://grigio.org
63
- */
64
-
65
- .hljs {
66
- display: block;
67
- overflow-x: auto;
68
- padding: 0.5em;
69
- background: #272822; color: #ddd;
70
- }
71
-
72
- .hljs-tag,
73
- .hljs-keyword,
74
- .hljs-selector-tag,
75
- .hljs-literal,
76
- .hljs-strong,
77
- .hljs-name {
78
- color: #f92672;
79
- }
80
-
81
- .hljs-code {
82
- color: #66d9ef;
83
- }
84
-
85
- .hljs-class .hljs-title {
86
- color: white;
87
- }
88
-
89
- .hljs-attribute,
90
- .hljs-symbol,
91
- .hljs-regexp,
92
- .hljs-link {
93
- color: #bf79db;
94
- }
95
-
96
- .hljs-string,
97
- .hljs-bullet,
98
- .hljs-subst,
99
- .hljs-title,
100
- .hljs-section,
101
- .hljs-emphasis,
102
- .hljs-type,
103
- .hljs-built_in,
104
- .hljs-builtin-name,
105
- .hljs-selector-attr,
106
- .hljs-selector-pseudo,
107
- .hljs-addition,
108
- .hljs-variable,
109
- .hljs-template-tag,
110
- .hljs-template-variable {
111
- color: #a6e22e;
112
- }
113
-
114
- .hljs-comment,
115
- .hljs-quote,
116
- .hljs-deletion,
117
- .hljs-meta {
118
- color: #75715e;
119
- }
120
-
121
- .hljs-keyword,
122
- .hljs-selector-tag,
123
- .hljs-literal,
124
- .hljs-doctag,
125
- .hljs-title,
126
- .hljs-section,
127
- .hljs-type,
128
- .hljs-selector-id {
129
- font-weight: bold;
130
- }
131
-
@@ -1,10 +1,12 @@
1
- /* Background */ .highlight-chroma { color: #272822; background-color: #fafafa }
1
+ /* Background */ .highlight-bg { color: #272822; background-color: #fafafa }
2
+ /* PreWrapper */ .highlight-chroma { color: #272822; background-color: #fafafa; }
2
3
  /* Error */ .highlight-chroma .highlight-err { color: #960050; background-color: #1e0010 }
3
4
  /* LineTableTD */ .highlight-chroma .highlight-lntd { vertical-align: top; padding: 0; margin: 0; border: 0; }
4
- /* LineTable */ .highlight-chroma .highlight-lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; width: auto; overflow: auto; display: block; }
5
- /* LineHighlight */ .highlight-chroma .highlight-hl { display: block; width: 100%;background-color: #e1e1e1 }
6
- /* LineNumbersTable */ .highlight-chroma .highlight-lnt { margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
7
- /* LineNumbers */ .highlight-chroma .highlight-ln { margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
5
+ /* LineTable */ .highlight-chroma .highlight-lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; }
6
+ /* LineHighlight */ .highlight-chroma .highlight-hl { background-color: #e1e1e1 }
7
+ /* LineNumbersTable */ .highlight-chroma .highlight-lnt { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
8
+ /* LineNumbers */ .highlight-chroma .highlight-ln { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
9
+ /* Line */ .highlight-chroma .highlight-line { display: flex; }
8
10
  /* Keyword */ .highlight-chroma .highlight-k { color: #00a8c8 }
9
11
  /* KeywordConstant */ .highlight-chroma .highlight-kc { color: #00a8c8 }
10
12
  /* KeywordDeclaration */ .highlight-chroma .highlight-kd { color: #00a8c8 }
@@ -68,112 +70,3 @@
68
70
  /* CommentPreprocFile */ .highlight-chroma .highlight-cpf { color: #75715e }
69
71
  /* GenericEmph */ .highlight-chroma .highlight-ge { font-style: italic }
70
72
  /* GenericStrong */ .highlight-chroma .highlight-gs { font-weight: bold }
71
-
72
- /*
73
-
74
- Gruvbox style (light) (c) Pavel Pertsev (original style at https://github.com/morhetz/gruvbox)
75
-
76
- */
77
-
78
- .hljs {
79
- display: block;
80
- overflow-x: auto;
81
- padding: 0.5em;
82
- background: #fbf1c7;
83
- }
84
-
85
- .hljs,
86
- .hljs-subst {
87
- color: #3c3836;
88
- }
89
-
90
- /* Gruvbox Red */
91
- .hljs-deletion,
92
- .hljs-formula,
93
- .hljs-keyword,
94
- .hljs-link,
95
- .hljs-selector-tag {
96
- color: #9d0006;
97
- }
98
-
99
- /* Gruvbox Blue */
100
- .hljs-built_in,
101
- .hljs-emphasis,
102
- .hljs-name,
103
- .hljs-quote,
104
- .hljs-strong,
105
- .hljs-title,
106
- .hljs-variable {
107
- color: #076678;
108
- }
109
-
110
- /* Gruvbox Yellow */
111
- .hljs-attr,
112
- .hljs-params,
113
- .hljs-template-tag,
114
- .hljs-type {
115
- color: #b57614;
116
- }
117
-
118
- /* Gruvbox Purple */
119
- .hljs-builtin-name,
120
- .hljs-doctag,
121
- .hljs-literal,
122
- .hljs-number {
123
- color: #8f3f71;
124
- }
125
-
126
- /* Gruvbox Orange */
127
- .hljs-code,
128
- .hljs-meta,
129
- .hljs-regexp,
130
- .hljs-selector-id,
131
- .hljs-template-variable {
132
- color: #af3a03;
133
- }
134
-
135
- /* Gruvbox Green */
136
- .hljs-addition,
137
- .hljs-meta-string,
138
- .hljs-section,
139
- .hljs-selector-attr,
140
- .hljs-selector-class,
141
- .hljs-string,
142
- .hljs-symbol {
143
- color: #79740e;
144
- }
145
-
146
- /* Gruvbox Aqua */
147
- .hljs-attribute,
148
- .hljs-bullet,
149
- .hljs-class,
150
- .hljs-function,
151
- .hljs-function .hljs-keyword,
152
- .hljs-meta-keyword,
153
- .hljs-selector-pseudo,
154
- .hljs-tag {
155
- color: #427b58;
156
- }
157
-
158
- /* Gruvbox Gray */
159
- .hljs-comment {
160
- color: #928374;
161
- }
162
-
163
- /* Gruvbox Purple */
164
- .hljs-link_label,
165
- .hljs-literal,
166
- .hljs-number {
167
- color: #8f3f71;
168
- }
169
-
170
- .hljs-comment,
171
- .hljs-emphasis {
172
- font-style: italic;
173
- }
174
-
175
- .hljs-section,
176
- .hljs-strong,
177
- .hljs-tag {
178
- font-weight: bold;
179
- }