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: #ffffff }
1
+ /* Background */ .highlight-bg { background-color: #ffffff }
2
+ /* PreWrapper */ .highlight-chroma { background-color: #ffffff; }
2
3
  /* Error */ .highlight-chroma .highlight-err { color: #ff0000; 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: #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: #228899; font-weight: bold }
9
11
  /* KeywordConstant */ .highlight-chroma .highlight-kc { color: #228899; font-weight: bold }
10
12
  /* KeywordDeclaration */ .highlight-chroma .highlight-kd { color: #228899; font-weight: bold }
@@ -69,76 +71,3 @@
69
71
  /* GenericTraceback */ .highlight-chroma .highlight-gt { color: #0044dd }
70
72
  /* GenericUnderline */ .highlight-chroma .highlight-gl { text-decoration: underline }
71
73
  /* TextWhitespace */ .highlight-chroma .highlight-w { color: #bbbbbb }
72
-
73
-
74
- /*
75
-
76
- Colorbrewer theme
77
- Original: https://github.com/mbostock/colorbrewer-theme (c) Mike Bostock <mike@ocks.org>
78
- Ported by Fabrício Tavares de Oliveira
79
-
80
- */
81
-
82
- .hljs {
83
- display: block;
84
- overflow-x: auto;
85
- padding: 0.5em;
86
- background: #fff;
87
- }
88
-
89
- .hljs,
90
- .hljs-subst {
91
- color: #000;
92
- }
93
-
94
- .hljs-string,
95
- .hljs-meta,
96
- .hljs-symbol,
97
- .hljs-template-tag,
98
- .hljs-template-variable,
99
- .hljs-addition {
100
- color: #756bb1;
101
- }
102
-
103
- .hljs-comment,
104
- .hljs-quote {
105
- color: #636363;
106
- }
107
-
108
- .hljs-number,
109
- .hljs-regexp,
110
- .hljs-literal,
111
- .hljs-bullet,
112
- .hljs-link {
113
- color: #31a354;
114
- }
115
-
116
- .hljs-deletion,
117
- .hljs-variable {
118
- color: #88f;
119
- }
120
-
121
-
122
-
123
- .hljs-keyword,
124
- .hljs-selector-tag,
125
- .hljs-title,
126
- .hljs-section,
127
- .hljs-built_in,
128
- .hljs-doctag,
129
- .hljs-type,
130
- .hljs-tag,
131
- .hljs-name,
132
- .hljs-selector-id,
133
- .hljs-selector-class,
134
- .hljs-strong {
135
- color: #3182bd;
136
- }
137
-
138
- .hljs-emphasis {
139
- font-style: italic;
140
- }
141
-
142
- .hljs-attribute {
143
- color: #e6550d;
144
- }
@@ -1,10 +1,12 @@
1
- /* Background */ .highlight-chroma { color: #d0d0d0; background-color: #202020 }
1
+ /* Background */ .highlight-bg { color: #d0d0d0; background-color: #202020 }
2
+ /* PreWrapper */ .highlight-chroma { color: #d0d0d0; background-color: #202020; }
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: #363636 }
6
- /* LineNumbersTable */ .highlight-chroma .highlight-lnt { margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #686868 }
7
- /* LineNumbers */ .highlight-chroma .highlight-ln { margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #686868 }
5
+ /* LineTable */ .highlight-chroma .highlight-lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; }
6
+ /* LineHighlight */ .highlight-chroma .highlight-hl { background-color: #363636 }
7
+ /* LineNumbersTable */ .highlight-chroma .highlight-lnt { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #686868 }
8
+ /* LineNumbers */ .highlight-chroma .highlight-ln { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #686868 }
9
+ /* Line */ .highlight-chroma .highlight-line { display: flex; }
8
10
  /* Keyword */ .highlight-chroma .highlight-k { color: #6ab825; font-weight: bold }
9
11
  /* KeywordConstant */ .highlight-chroma .highlight-kc { color: #6ab825; font-weight: bold }
10
12
  /* KeywordDeclaration */ .highlight-chroma .highlight-kd { color: #6ab825; font-weight: bold }
@@ -63,101 +65,3 @@
63
65
  /* GenericTraceback */ .highlight-chroma .highlight-gt { color: #d22323 }
64
66
  /* GenericUnderline */ .highlight-chroma .highlight-gl { text-decoration: underline }
65
67
  /* TextWhitespace */ .highlight-chroma .highlight-w { color: #666666 }
66
-
67
- /*
68
-
69
- Atom One Dark by Daniel Gamage
70
- Original One Dark Syntax theme from https://github.com/atom/one-dark-syntax
71
-
72
- base: #282c34
73
- mono-1: #abb2bf
74
- mono-2: #818896
75
- mono-3: #5c6370
76
- hue-1: #56b6c2
77
- hue-2: #61aeee
78
- hue-3: #c678dd
79
- hue-4: #98c379
80
- hue-5: #e06c75
81
- hue-5-2: #be5046
82
- hue-6: #d19a66
83
- hue-6-2: #e6c07b
84
-
85
- */
86
-
87
- .hljs {
88
- display: block;
89
- overflow-x: auto;
90
- padding: 0.5em;
91
- color: #abb2bf;
92
- background: #282c34;
93
- }
94
-
95
- .hljs-comment,
96
- .hljs-quote {
97
- color: #5c6370;
98
- font-style: italic;
99
- }
100
-
101
- .hljs-doctag,
102
- .hljs-keyword,
103
- .hljs-formula {
104
- color: #c678dd;
105
- }
106
-
107
- .hljs-section,
108
- .hljs-name,
109
- .hljs-selector-tag,
110
- .hljs-deletion,
111
- .hljs-subst {
112
- color: #e06c75;
113
- }
114
-
115
- .hljs-literal {
116
- color: #56b6c2;
117
- }
118
-
119
- .hljs-string,
120
- .hljs-regexp,
121
- .hljs-addition,
122
- .hljs-attribute,
123
- .hljs-meta-string {
124
- color: #98c379;
125
- }
126
-
127
- .hljs-built_in,
128
- .hljs-class .hljs-title {
129
- color: #e6c07b;
130
- }
131
-
132
- .hljs-attr,
133
- .hljs-variable,
134
- .hljs-template-variable,
135
- .hljs-type,
136
- .hljs-selector-class,
137
- .hljs-selector-attr,
138
- .hljs-selector-pseudo,
139
- .hljs-number {
140
- color: #d19a66;
141
- }
142
-
143
- .hljs-symbol,
144
- .hljs-bullet,
145
- .hljs-link,
146
- .hljs-meta,
147
- .hljs-selector-id,
148
- .hljs-title {
149
- color: #61aeee;
150
- }
151
-
152
- .hljs-emphasis {
153
- font-style: italic;
154
- }
155
-
156
- .hljs-strong {
157
- font-weight: bold;
158
- }
159
-
160
- .hljs-link {
161
- text-decoration: underline;
162
- }
163
-
@@ -1,10 +1,12 @@
1
- /* Background */ .highlight-chroma { color: #e7e9db; background-color: #2f1e2e }
1
+ /* Background */ .highlight-bg { color: #e7e9db; background-color: #2f1e2e }
2
+ /* PreWrapper */ .highlight-chroma { color: #e7e9db; background-color: #2f1e2e; }
2
3
  /* Error */ .highlight-chroma .highlight-err { color: #ef6155 }
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: #433442 }
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: #433442 }
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: #815ba4 }
9
11
  /* KeywordConstant */ .highlight-chroma .highlight-kc { color: #815ba4 }
10
12
  /* KeywordDeclaration */ .highlight-chroma .highlight-kd { color: #815ba4 }
@@ -60,77 +62,3 @@
60
62
  /* GenericPrompt */ .highlight-chroma .highlight-gp { color: #776e71; font-weight: bold }
61
63
  /* GenericStrong */ .highlight-chroma .highlight-gs { font-weight: bold }
62
64
  /* GenericSubheading */ .highlight-chroma .highlight-gu { color: #5bc4bf; font-weight: bold }
63
-
64
- /*
65
- Paraíso (dark)
66
- Created by Jan T. Sott (http://github.com/idleberg)
67
- Inspired by the art of Rubens LP (http://www.rubenslp.com.br)
68
- */
69
-
70
- /* Paraíso Comment */
71
- .hljs-comment,
72
- .hljs-quote {
73
- color: #8d8687;
74
- }
75
-
76
- /* Paraíso Red */
77
- .hljs-variable,
78
- .hljs-template-variable,
79
- .hljs-tag,
80
- .hljs-name,
81
- .hljs-selector-id,
82
- .hljs-selector-class,
83
- .hljs-regexp,
84
- .hljs-link,
85
- .hljs-meta {
86
- color: #ef6155;
87
- }
88
-
89
- /* Paraíso Orange */
90
- .hljs-number,
91
- .hljs-built_in,
92
- .hljs-builtin-name,
93
- .hljs-literal,
94
- .hljs-type,
95
- .hljs-params,
96
- .hljs-deletion {
97
- color: #f99b15;
98
- }
99
-
100
- /* Paraíso Yellow */
101
- .hljs-title,
102
- .hljs-section,
103
- .hljs-attribute {
104
- color: #fec418;
105
- }
106
-
107
- /* Paraíso Green */
108
- .hljs-string,
109
- .hljs-symbol,
110
- .hljs-bullet,
111
- .hljs-addition {
112
- color: #48b685;
113
- }
114
-
115
- /* Paraíso Purple */
116
- .hljs-keyword,
117
- .hljs-selector-tag {
118
- color: #815ba4;
119
- }
120
-
121
- .hljs {
122
- display: block;
123
- overflow-x: auto;
124
- background: #2f1e2e;
125
- color: #a39e9b;
126
- padding: 0.5em;
127
- }
128
-
129
- .hljs-emphasis {
130
- font-style: italic;
131
- }
132
-
133
- .hljs-strong {
134
- font-weight: bold;
135
- }
136
-
@@ -1,10 +1,12 @@
1
- /* Background */ .highlight-chroma { color: #2f1e2e; background-color: #e7e9db }
1
+ /* Background */ .highlight-bg { color: #2f1e2e; background-color: #e7e9db }
2
+ /* PreWrapper */ .highlight-chroma { color: #2f1e2e; background-color: #e7e9db; }
2
3
  /* Error */ .highlight-chroma .highlight-err { color: #ef6155 }
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: #cfd1c5 }
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: #cfd1c5 }
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: #815ba4 }
9
11
  /* KeywordConstant */ .highlight-chroma .highlight-kc { color: #815ba4 }
10
12
  /* KeywordDeclaration */ .highlight-chroma .highlight-kd { color: #815ba4 }
@@ -60,76 +62,3 @@
60
62
  /* GenericPrompt */ .highlight-chroma .highlight-gp { color: #8d8687; font-weight: bold }
61
63
  /* GenericStrong */ .highlight-chroma .highlight-gs { font-weight: bold }
62
64
  /* GenericSubheading */ .highlight-chroma .highlight-gu { color: #5bc4bf; font-weight: bold }
63
-
64
- /*
65
- Paraíso (light)
66
- Created by Jan T. Sott (http://github.com/idleberg)
67
- Inspired by the art of Rubens LP (http://www.rubenslp.com.br)
68
- */
69
-
70
- /* Paraíso Comment */
71
- .hljs-comment,
72
- .hljs-quote {
73
- color: #776e71;
74
- }
75
-
76
- /* Paraíso Red */
77
- .hljs-variable,
78
- .hljs-template-variable,
79
- .hljs-tag,
80
- .hljs-name,
81
- .hljs-selector-id,
82
- .hljs-selector-class,
83
- .hljs-regexp,
84
- .hljs-link,
85
- .hljs-meta {
86
- color: #ef6155;
87
- }
88
-
89
- /* Paraíso Orange */
90
- .hljs-number,
91
- .hljs-built_in,
92
- .hljs-builtin-name,
93
- .hljs-literal,
94
- .hljs-type,
95
- .hljs-params,
96
- .hljs-deletion {
97
- color: #f99b15;
98
- }
99
-
100
- /* Paraíso Yellow */
101
- .hljs-title,
102
- .hljs-section,
103
- .hljs-attribute {
104
- color: #fec418;
105
- }
106
-
107
- /* Paraíso Green */
108
- .hljs-string,
109
- .hljs-symbol,
110
- .hljs-bullet,
111
- .hljs-addition {
112
- color: #48b685;
113
- }
114
-
115
- /* Paraíso Purple */
116
- .hljs-keyword,
117
- .hljs-selector-tag {
118
- color: #815ba4;
119
- }
120
-
121
- .hljs {
122
- display: block;
123
- overflow-x: auto;
124
- background: #e7e9db;
125
- color: #4f424c;
126
- padding: 0.5em;
127
- }
128
-
129
- .hljs-emphasis {
130
- font-style: italic;
131
- }
132
-
133
- .hljs-strong {
134
- font-weight: bold;
135
- }
@@ -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 { 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: #008800; font-weight: bold }
9
11
  /* KeywordConstant */ .highlight-chroma .highlight-kc { color: #008800; font-weight: bold }
10
12
  /* KeywordDeclaration */ .highlight-chroma .highlight-kd { color: #008800; font-weight: bold }
@@ -68,113 +70,3 @@
68
70
  /* GenericTraceback */ .highlight-chroma .highlight-gt { color: #aa0000 }
69
71
  /* GenericUnderline */ .highlight-chroma .highlight-gl { text-decoration: underline }
70
72
  /* TextWhitespace */ .highlight-chroma .highlight-w { color: #bbbbbb }
71
-
72
-
73
- /*
74
-
75
- highlight.js style for Microtik RouterOS script
76
-
77
- */
78
-
79
- .hljs {
80
- display: block;
81
- overflow-x: auto;
82
- padding: 0.5em;
83
- background: #F0F0F0;
84
- }
85
-
86
- /* Base color: saturation 0; */
87
-
88
- .hljs,
89
- .hljs-subst {
90
- color: #444;
91
- }
92
-
93
- .hljs-comment {
94
- color: #888888;
95
- }
96
-
97
- .hljs-keyword,
98
- .hljs-selector-tag,
99
- .hljs-meta-keyword,
100
- .hljs-doctag,
101
- .hljs-name {
102
- font-weight: bold;
103
- }
104
-
105
- .hljs-attribute {
106
- color: #0E9A00;
107
- }
108
-
109
- .hljs-function {
110
- color: #99069A;
111
- }
112
-
113
- .hljs-builtin-name {
114
- color: #99069A;
115
- }
116
-
117
- /* User color: hue: 0 */
118
-
119
- .hljs-type,
120
- .hljs-string,
121
- .hljs-number,
122
- .hljs-selector-id,
123
- .hljs-selector-class,
124
- .hljs-quote,
125
- .hljs-template-tag,
126
- .hljs-deletion {
127
- color: #880000;
128
- }
129
-
130
- .hljs-title,
131
- .hljs-section {
132
- color: #880000;
133
- font-weight: bold;
134
- }
135
-
136
- .hljs-regexp,
137
- .hljs-symbol,
138
- .hljs-variable,
139
- .hljs-template-variable,
140
- .hljs-link,
141
- .hljs-selector-attr,
142
- .hljs-selector-pseudo {
143
- color: #BC6060;
144
- }
145
-
146
-
147
- /* Language color: hue: 90; */
148
-
149
- .hljs-literal {
150
- color: #78A960;
151
- }
152
-
153
- .hljs-built_in,
154
- .hljs-bullet,
155
- .hljs-code,
156
- .hljs-addition {
157
- color: #0C9A9A;
158
- }
159
-
160
-
161
- /* Meta color: hue: 200 */
162
-
163
- .hljs-meta {
164
- color: #1f7199;
165
- }
166
-
167
- .hljs-meta-string {
168
- color: #4d99bf;
169
- }
170
-
171
-
172
- /* Misc effects */
173
-
174
- .hljs-emphasis {
175
- font-style: italic;
176
- }
177
-
178
- .hljs-strong {
179
- font-weight: bold;
180
- }
@@ -1,10 +1,12 @@
1
- /* Background */ .highlight-chroma { background-color: #eeeedd }
1
+ /* Background */ .highlight-bg { background-color: #eeeedd }
2
+ /* PreWrapper */ .highlight-chroma { background-color: #eeeedd; }
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: #d6d6c6 }
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: #d6d6c6 }
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: #8b008b; font-weight: bold }
9
11
  /* KeywordConstant */ .highlight-chroma .highlight-kc { color: #8b008b; font-weight: bold }
10
12
  /* KeywordDeclaration */ .highlight-chroma .highlight-kd { color: #8b008b; font-weight: bold }
@@ -63,78 +65,3 @@
63
65
  /* GenericTraceback */ .highlight-chroma .highlight-gt { color: #aa0000 }
64
66
  /* GenericUnderline */ .highlight-chroma .highlight-gl { text-decoration: underline }
65
67
  /* TextWhitespace */ .highlight-chroma .highlight-w { color: #bbbbbb }
66
-
67
- /*
68
- Name: Kimbie (light)
69
- Author: Jan T. Sott
70
- License: Creative Commons Attribution-ShareAlike 4.0 Unported License
71
- URL: https://github.com/idleberg/Kimbie-highlight.js
72
- */
73
-
74
- /* Kimbie Comment */
75
- .hljs-comment,
76
- .hljs-quote {
77
- color: #a57a4c;
78
- }
79
-
80
- /* Kimbie Red */
81
- .hljs-variable,
82
- .hljs-template-variable,
83
- .hljs-tag,
84
- .hljs-name,
85
- .hljs-selector-id,
86
- .hljs-selector-class,
87
- .hljs-regexp,
88
- .hljs-meta {
89
- color: #dc3958;
90
- }
91
-
92
- /* Kimbie Orange */
93
- .hljs-number,
94
- .hljs-built_in,
95
- .hljs-builtin-name,
96
- .hljs-literal,
97
- .hljs-type,
98
- .hljs-params,
99
- .hljs-deletion,
100
- .hljs-link {
101
- color: #f79a32;
102
- }
103
-
104
- /* Kimbie Yellow */
105
- .hljs-title,
106
- .hljs-section,
107
- .hljs-attribute {
108
- color: #f06431;
109
- }
110
-
111
- /* Kimbie Green */
112
- .hljs-string,
113
- .hljs-symbol,
114
- .hljs-bullet,
115
- .hljs-addition {
116
- color: #889b4a;
117
- }
118
-
119
- /* Kimbie Purple */
120
- .hljs-keyword,
121
- .hljs-selector-tag,
122
- .hljs-function {
123
- color: #98676a;
124
- }
125
-
126
- .hljs {
127
- display: block;
128
- overflow-x: auto;
129
- background: #fbebd4;
130
- color: #84613d;
131
- padding: 0.5em;
132
- }
133
-
134
- .hljs-emphasis {
135
- font-style: italic;
136
- }
137
-
138
- .hljs-strong {
139
- font-weight: bold;
140
- }