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 { }
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 { font-weight: bold }
9
11
  /* KeywordConstant */ .highlight-chroma .highlight-kc { font-weight: bold }
10
12
  /* KeywordDeclaration */ .highlight-chroma .highlight-kd { font-weight: bold }
@@ -44,106 +46,3 @@
44
46
  /* GenericPrompt */ .highlight-chroma .highlight-gp { font-weight: bold }
45
47
  /* GenericStrong */ .highlight-chroma .highlight-gs { font-weight: bold }
46
48
  /* GenericSubheading */ .highlight-chroma .highlight-gu { font-weight: bold }
47
-
48
- /*
49
-
50
- grayscale style (c) MY Sun <simonmysun@gmail.com>
51
-
52
- */
53
-
54
- .hljs {
55
- display: block;
56
- overflow-x: auto;
57
- padding: 0.5em;
58
- color: #333;
59
- background: #fff;
60
- }
61
-
62
- .hljs-comment,
63
- .hljs-quote {
64
- color: #777;
65
- font-style: italic;
66
- }
67
-
68
- .hljs-keyword,
69
- .hljs-selector-tag,
70
- .hljs-subst {
71
- color: #333;
72
- font-weight: bold;
73
- }
74
-
75
- .hljs-number,
76
- .hljs-literal {
77
- color: #777;
78
- }
79
-
80
- .hljs-string,
81
- .hljs-doctag,
82
- .hljs-formula {
83
- color: #333;
84
- background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAJ0lEQVQIW2O8e/fufwYGBgZBQUEQxcCIIfDu3Tuwivfv30NUoAsAALHpFMMLqZlPAAAAAElFTkSuQmCC) repeat;
85
- }
86
-
87
- .hljs-title,
88
- .hljs-section,
89
- .hljs-selector-id {
90
- color: #000;
91
- font-weight: bold;
92
- }
93
-
94
- .hljs-subst {
95
- font-weight: normal;
96
- }
97
-
98
- .hljs-class .hljs-title,
99
- .hljs-type,
100
- .hljs-name {
101
- color: #333;
102
- font-weight: bold;
103
- }
104
-
105
- .hljs-tag {
106
- color: #333;
107
- }
108
-
109
- .hljs-regexp {
110
- color: #333;
111
- background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAICAYAAADA+m62AAAAPUlEQVQYV2NkQAN37979r6yszIgujiIAU4RNMVwhuiQ6H6wQl3XI4oy4FMHcCJPHcDS6J2A2EqUQpJhohQDexSef15DBCwAAAABJRU5ErkJggg==) repeat;
112
- }
113
-
114
- .hljs-symbol,
115
- .hljs-bullet,
116
- .hljs-link {
117
- color: #000;
118
- background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAKElEQVQIW2NkQAO7d+/+z4gsBhJwdXVlhAvCBECKwIIwAbhKZBUwBQA6hBpm5efZsgAAAABJRU5ErkJggg==) repeat;
119
- }
120
-
121
- .hljs-built_in,
122
- .hljs-builtin-name {
123
- color: #000;
124
- text-decoration: underline;
125
- }
126
-
127
- .hljs-meta {
128
- color: #999;
129
- font-weight: bold;
130
- }
131
-
132
- .hljs-deletion {
133
- color: #fff;
134
- background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAADCAYAAABS3WWCAAAAE0lEQVQIW2MMDQ39zzhz5kwIAQAyxweWgUHd1AAAAABJRU5ErkJggg==) repeat;
135
- }
136
-
137
- .hljs-addition {
138
- color: #000;
139
- background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAALUlEQVQYV2N89+7dfwYk8P79ewZBQUFkIQZGOiu6e/cuiptQHAPl0NtNxAQBAM97Oejj3Dg7AAAAAElFTkSuQmCC) repeat;
140
- }
141
-
142
- .hljs-emphasis {
143
- font-style: italic;
144
- }
145
-
146
- .hljs-strong {
147
- font-weight: bold;
148
- }
149
-
@@ -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: #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 }
@@ -69,88 +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
- /* Base16 Atelier Plateau Light - Theme */
74
- /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/plateau) */
75
- /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */
76
-
77
- /* Atelier-Plateau Comment */
78
- .hljs-comment,
79
- .hljs-quote {
80
- color: #655d5d;
81
- }
82
-
83
- /* Atelier-Plateau Red */
84
- .hljs-variable,
85
- .hljs-template-variable,
86
- .hljs-attribute,
87
- .hljs-tag,
88
- .hljs-name,
89
- .hljs-regexp,
90
- .hljs-link,
91
- .hljs-name,
92
- .hljs-selector-id,
93
- .hljs-selector-class {
94
- color: #ca4949;
95
- }
96
-
97
- /* Atelier-Plateau Orange */
98
- .hljs-number,
99
- .hljs-meta,
100
- .hljs-built_in,
101
- .hljs-builtin-name,
102
- .hljs-literal,
103
- .hljs-type,
104
- .hljs-params {
105
- color: #b45a3c;
106
- }
107
-
108
- /* Atelier-Plateau Green */
109
- .hljs-string,
110
- .hljs-symbol,
111
- .hljs-bullet {
112
- color: #4b8b8b;
113
- }
114
-
115
- /* Atelier-Plateau Blue */
116
- .hljs-title,
117
- .hljs-section {
118
- color: #7272ca;
119
- }
120
-
121
- /* Atelier-Plateau Purple */
122
- .hljs-keyword,
123
- .hljs-selector-tag {
124
- color: #8464c4;
125
- }
126
-
127
- .hljs-deletion,
128
- .hljs-addition {
129
- color: #1b1818;
130
- display: inline-block;
131
- width: 100%;
132
- }
133
-
134
- .hljs-deletion {
135
- background-color: #ca4949;
136
- }
137
-
138
- .hljs-addition {
139
- background-color: #4b8b8b;
140
- }
141
-
142
- .hljs {
143
- display: block;
144
- overflow-x: auto;
145
- background: #f4ecec;
146
- color: #585050;
147
- padding: 0.5em;
148
- }
149
-
150
- .hljs-emphasis {
151
- font-style: italic;
152
- }
153
-
154
- .hljs-strong {
155
- font-weight: bold;
156
- }
@@ -1,9 +1,11 @@
1
- /* Background */ .highlight-chroma { color: #f8f8f2; background-color: #282a36 }
1
+ /* Background */ .highlight-bg { color: #f8f8f2; background-color: #282a36 }
2
+ /* PreWrapper */ .highlight-chroma { color: #f8f8f2; background-color: #282a36; }
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: #3d3f4a }
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: #3d3f4a }
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: #ff79c6 }
8
10
  /* KeywordConstant */ .highlight-chroma .highlight-kc { color: #ff79c6 }
9
11
  /* KeywordDeclaration */ .highlight-chroma .highlight-kd { color: #8be9fd; font-style: italic }
@@ -51,89 +53,10 @@
51
53
  /* CommentSpecial */ .highlight-chroma .highlight-cs { color: #6272a4 }
52
54
  /* CommentPreproc */ .highlight-chroma .highlight-cp { color: #ff79c6 }
53
55
  /* CommentPreprocFile */ .highlight-chroma .highlight-cpf { color: #ff79c6 }
54
- /* GenericDeleted */ .highlight-chroma .highlight-gd { color: #8b080b }
56
+ /* GenericDeleted */ .highlight-chroma .highlight-gd { color: #ff5555 }
55
57
  /* GenericEmph */ .highlight-chroma .highlight-ge { text-decoration: underline }
56
58
  /* GenericHeading */ .highlight-chroma .highlight-gh { font-weight: bold }
57
- /* GenericInserted */ .highlight-chroma .highlight-gi { font-weight: bold }
59
+ /* GenericInserted */ .highlight-chroma .highlight-gi { color: #50fa7b; font-weight: bold }
58
60
  /* GenericOutput */ .highlight-chroma .highlight-go { color: #44475a }
59
61
  /* GenericSubheading */ .highlight-chroma .highlight-gu { font-weight: bold }
60
62
  /* GenericUnderline */ .highlight-chroma .highlight-gl { text-decoration: underline }
61
-
62
- /*
63
-
64
- Darcula color scheme from the JetBrains family of IDEs
65
-
66
- */
67
-
68
-
69
- .hljs {
70
- display: block;
71
- overflow-x: auto;
72
- padding: 0.5em;
73
- background: #2b2b2b;
74
- }
75
-
76
- .hljs {
77
- color: #bababa;
78
- }
79
-
80
- .hljs-strong,
81
- .hljs-emphasis {
82
- color: #a8a8a2;
83
- }
84
-
85
- .hljs-bullet,
86
- .hljs-quote,
87
- .hljs-link,
88
- .hljs-number,
89
- .hljs-regexp,
90
- .hljs-literal {
91
- color: #6896ba;
92
- }
93
-
94
- .hljs-code,
95
- .hljs-selector-class {
96
- color: #a6e22e;
97
- }
98
-
99
- .hljs-emphasis {
100
- font-style: italic;
101
- }
102
-
103
- .hljs-keyword,
104
- .hljs-selector-tag,
105
- .hljs-section,
106
- .hljs-attribute,
107
- .hljs-name,
108
- .hljs-variable {
109
- color: #cb7832;
110
- }
111
-
112
- .hljs-params {
113
- color: #b9b9b9;
114
- }
115
-
116
- .hljs-string {
117
- color: #6a8759;
118
- }
119
-
120
- .hljs-subst,
121
- .hljs-type,
122
- .hljs-built_in,
123
- .hljs-builtin-name,
124
- .hljs-symbol,
125
- .hljs-selector-id,
126
- .hljs-selector-attr,
127
- .hljs-selector-pseudo,
128
- .hljs-template-tag,
129
- .hljs-template-variable,
130
- .hljs-addition {
131
- color: #e0c46c;
132
- }
133
-
134
- .hljs-comment,
135
- .hljs-deletion,
136
- .hljs-meta {
137
- color: #7f7f7f;
138
- }
139
-
@@ -1,10 +1,12 @@
1
- /* Background */ .highlight-chroma { background-color: #f8f8f8 }
1
+ /* Background */ .highlight-bg { background-color: #f8f8f8 }
2
+ /* PreWrapper */ .highlight-chroma { background-color: #f8f8f8; }
2
3
  /* Error */ .highlight-chroma .highlight-err { }
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: #dfdfdf }
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: #dfdfdf }
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: #aa22ff; font-weight: bold }
9
11
  /* KeywordConstant */ .highlight-chroma .highlight-kc { color: #aa22ff; font-weight: bold }
10
12
  /* KeywordDeclaration */ .highlight-chroma .highlight-kd { color: #aa22ff; font-weight: bold }
@@ -66,101 +68,3 @@
66
68
  /* GenericTraceback */ .highlight-chroma .highlight-gt { color: #0044dd }
67
69
  /* GenericUnderline */ .highlight-chroma .highlight-gl { text-decoration: underline }
68
70
  /* TextWhitespace */ .highlight-chroma .highlight-w { color: #bbbbbb }
69
-
70
- /*
71
-
72
- Atom One Light by Daniel Gamage
73
- Original One Light Syntax theme from https://github.com/atom/one-light-syntax
74
-
75
- base: #fafafa
76
- mono-1: #383a42
77
- mono-2: #686b77
78
- mono-3: #a0a1a7
79
- hue-1: #0184bb
80
- hue-2: #4078f2
81
- hue-3: #a626a4
82
- hue-4: #50a14f
83
- hue-5: #e45649
84
- hue-5-2: #c91243
85
- hue-6: #986801
86
- hue-6-2: #c18401
87
-
88
- */
89
-
90
- .hljs {
91
- display: block;
92
- overflow-x: auto;
93
- padding: 0.5em;
94
- color: #383a42;
95
- background: #fafafa;
96
- }
97
-
98
- .hljs-comment,
99
- .hljs-quote {
100
- color: #a0a1a7;
101
- font-style: italic;
102
- }
103
-
104
- .hljs-doctag,
105
- .hljs-keyword,
106
- .hljs-formula {
107
- color: #a626a4;
108
- }
109
-
110
- .hljs-section,
111
- .hljs-name,
112
- .hljs-selector-tag,
113
- .hljs-deletion,
114
- .hljs-subst {
115
- color: #e45649;
116
- }
117
-
118
- .hljs-literal {
119
- color: #0184bb;
120
- }
121
-
122
- .hljs-string,
123
- .hljs-regexp,
124
- .hljs-addition,
125
- .hljs-attribute,
126
- .hljs-meta-string {
127
- color: #50a14f;
128
- }
129
-
130
- .hljs-built_in,
131
- .hljs-class .hljs-title {
132
- color: #c18401;
133
- }
134
-
135
- .hljs-attr,
136
- .hljs-variable,
137
- .hljs-template-variable,
138
- .hljs-type,
139
- .hljs-selector-class,
140
- .hljs-selector-attr,
141
- .hljs-selector-pseudo,
142
- .hljs-number {
143
- color: #986801;
144
- }
145
-
146
- .hljs-symbol,
147
- .hljs-bullet,
148
- .hljs-link,
149
- .hljs-meta,
150
- .hljs-selector-id,
151
- .hljs-title {
152
- color: #4078f2;
153
- }
154
-
155
- .hljs-emphasis {
156
- font-style: italic;
157
- }
158
-
159
- .hljs-strong {
160
- font-weight: bold;
161
- }
162
-
163
- .hljs-link {
164
- text-decoration: underline;
165
- }
166
-
@@ -1,10 +1,12 @@
1
- /* Background */ .highlight-chroma { background-color: #f0f0f0 }
1
+ /* Background */ .highlight-bg { background-color: #f0f0f0 }
2
+ /* PreWrapper */ .highlight-chroma { background-color: #f0f0f0; }
2
3
  /* Error */ .highlight-chroma .highlight-err { }
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: #d8d8d8 }
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: #d8d8d8 }
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: #007020; font-weight: bold }
9
11
  /* KeywordConstant */ .highlight-chroma .highlight-kc { color: #007020; font-weight: bold }
10
12
  /* KeywordDeclaration */ .highlight-chroma .highlight-kd { color: #007020; font-weight: bold }
@@ -66,117 +68,3 @@
66
68
  /* GenericTraceback */ .highlight-chroma .highlight-gt { color: #0044dd }
67
69
  /* GenericUnderline */ .highlight-chroma .highlight-gl { text-decoration: underline }
68
70
  /* TextWhitespace */ .highlight-chroma .highlight-w { color: #bbbbbb }
69
-
70
- /*
71
-
72
- ISBL Editor style light color schemec (c) Dmitriy Tarasov <dimatar@gmail.com>
73
-
74
- */
75
-
76
- .hljs {
77
- display: block;
78
- overflow-x: auto;
79
- padding: 0.5em;
80
- background: white;
81
- color: black;
82
- }
83
-
84
- /* Base color: saturation 0; */
85
-
86
- .hljs,
87
- .hljs-subst {
88
- color: #000000;
89
- }
90
-
91
- .hljs-comment {
92
- color: #555555;
93
- font-style: italic;
94
- }
95
-
96
- .hljs-keyword,
97
- .hljs-attribute,
98
- .hljs-selector-tag,
99
- .hljs-meta-keyword,
100
- .hljs-doctag,
101
- .hljs-name {
102
- color: #000000;
103
- font-weight: bold;
104
- }
105
-
106
-
107
- /* User color: hue: 0 */
108
-
109
- .hljs-string {
110
- color: #000080;
111
- }
112
-
113
- .hljs-type,
114
- .hljs-number,
115
- .hljs-selector-id,
116
- .hljs-selector-class,
117
- .hljs-quote,
118
- .hljs-template-tag,
119
- .hljs-deletion {
120
- color: #000000;
121
- }
122
-
123
- .hljs-title,
124
- .hljs-section {
125
- color: #fb2c00;
126
- }
127
-
128
- .hljs-title>.hljs-built_in {
129
- color: #008080;
130
- font-weight: normal;
131
- }
132
-
133
- .hljs-regexp,
134
- .hljs-symbol,
135
- .hljs-variable,
136
- .hljs-template-variable,
137
- .hljs-link,
138
- .hljs-selector-attr,
139
- .hljs-selector-pseudo {
140
- color: #5e1700;
141
- }
142
-
143
- /* Language color: hue: 90; */
144
-
145
- .hljs-built_in,
146
- .hljs-literal {
147
- color: #000080;
148
- font-weight: bold;
149
- }
150
-
151
- .hljs-bullet,
152
- .hljs-code,
153
- .hljs-addition {
154
- color: #397300;
155
- }
156
-
157
- .hljs-class {
158
- color: #6f1C00;
159
- font-weight: bold;
160
- }
161
-
162
- /* Meta color: hue: 200 */
163
-
164
- .hljs-meta {
165
- color: #1f7199;
166
- }
167
-
168
- .hljs-meta-string {
169
- color: #4d99bf;
170
- }
171
-
172
-
173
- /* Misc effects */
174
-
175
- .hljs-emphasis {
176
- font-style: italic;
177
- }
178
-
179
- .hljs-strong {
180
- font-weight: bold;
181
- }
182
-
@@ -1,9 +1,11 @@
1
- /* Background */ .highlight-chroma { color: #ffffff; background-color: #111111 }
1
+ /* Background */ .highlight-bg { color: #ffffff; background-color: #111111 }
2
+ /* PreWrapper */ .highlight-chroma { color: #ffffff; background-color: #111111; }
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: #282828 }
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: #282828 }
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: #fb660a; font-weight: bold }
8
10
  /* KeywordConstant */ .highlight-chroma .highlight-kc { color: #fb660a; font-weight: bold }
9
11
  /* KeywordDeclaration */ .highlight-chroma .highlight-kd { color: #fb660a; font-weight: bold }
@@ -48,74 +50,3 @@
48
50
  /* GenericOutput */ .highlight-chroma .highlight-go { color: #444444; background-color: #222222 }
49
51
  /* GenericSubheading */ .highlight-chroma .highlight-gu { font-weight: bold }
50
52
  /* TextWhitespace */ .highlight-chroma .highlight-w { color: #888888 }
51
-
52
-
53
- /* Base16 Atelier Forest Dark - Theme */
54
- /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/forest) */
55
- /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */
56
-
57
- /* Atelier-Forest Comment */
58
- .hljs-comment,
59
- .hljs-quote {
60
- color: #9c9491;
61
- }
62
-
63
- /* Atelier-Forest Red */
64
- .hljs-variable,
65
- .hljs-template-variable,
66
- .hljs-attribute,
67
- .hljs-tag,
68
- .hljs-name,
69
- .hljs-regexp,
70
- .hljs-link,
71
- .hljs-name,
72
- .hljs-selector-id,
73
- .hljs-selector-class {
74
- color: #f22c40;
75
- }
76
-
77
- /* Atelier-Forest Orange */
78
- .hljs-number,
79
- .hljs-meta,
80
- .hljs-built_in,
81
- .hljs-builtin-name,
82
- .hljs-literal,
83
- .hljs-type,
84
- .hljs-params {
85
- color: #df5320;
86
- }
87
-
88
- /* Atelier-Forest Green */
89
- .hljs-string,
90
- .hljs-symbol,
91
- .hljs-bullet {
92
- color: #7b9726;
93
- }
94
-
95
- /* Atelier-Forest Blue */
96
- .hljs-title,
97
- .hljs-section {
98
- color: #407ee7;
99
- }
100
-
101
- /* Atelier-Forest Purple */
102
- .hljs-keyword,
103
- .hljs-selector-tag {
104
- color: #6666ea;
105
- }
106
-
107
- .hljs {
108
- display: block;
109
- overflow-x: auto;
110
- background: #1b1918;
111
- color: #a8a19f;
112
- padding: 0.5em;
113
- }
114
-
115
- .hljs-emphasis {
116
- font-style: italic;
117
- }
118
-
119
- .hljs-strong {
120
- font-weight: bold;
121
- }