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 }
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: #0000ff }
9
11
  /* KeywordConstant */ .highlight-chroma .highlight-kc { color: #0000ff }
10
12
  /* KeywordDeclaration */ .highlight-chroma .highlight-kd { color: #0000ff }
@@ -62,94 +64,3 @@
62
64
  /* CommentSpecial */ .highlight-chroma .highlight-cs { color: #888888; font-style: italic }
63
65
  /* CommentPreproc */ .highlight-chroma .highlight-cp { color: #888888; font-style: italic }
64
66
  /* CommentPreprocFile */ .highlight-chroma .highlight-cpf { color: #888888; font-style: italic }
65
-
66
- /*
67
-
68
- Google Code style (c) Aahan Krish <geekpanth3r@gmail.com>
69
-
70
- */
71
-
72
- .hljs {
73
- display: block;
74
- overflow-x: auto;
75
- padding: 0.5em;
76
- background: white;
77
- color: black;
78
- }
79
-
80
- .hljs-comment,
81
- .hljs-quote {
82
- color: #800;
83
- }
84
-
85
- .hljs-keyword,
86
- .hljs-selector-tag,
87
- .hljs-section,
88
- .hljs-title,
89
- .hljs-name {
90
- color: #008;
91
- }
92
-
93
- .hljs-variable,
94
- .hljs-template-variable {
95
- color: #660;
96
- }
97
-
98
- .hljs-string,
99
- .hljs-selector-attr,
100
- .hljs-selector-pseudo,
101
- .hljs-regexp {
102
- color: #080;
103
- }
104
-
105
- .hljs-literal,
106
- .hljs-symbol,
107
- .hljs-bullet,
108
- .hljs-meta,
109
- .hljs-number,
110
- .hljs-link {
111
- color: #066;
112
- }
113
-
114
- .hljs-title,
115
- .hljs-doctag,
116
- .hljs-type,
117
- .hljs-attr,
118
- .hljs-built_in,
119
- .hljs-builtin-name,
120
- .hljs-params {
121
- color: #606;
122
- }
123
-
124
- .hljs-attribute,
125
- .hljs-subst {
126
- color: #000;
127
- }
128
-
129
- .hljs-formula {
130
- background-color: #eee;
131
- font-style: italic;
132
- }
133
-
134
- .hljs-selector-id,
135
- .hljs-selector-class {
136
- color: #9B703F
137
- }
138
-
139
- .hljs-addition {
140
- background-color: #baeeba;
141
- }
142
-
143
- .hljs-deletion {
144
- background-color: #ffc8bd;
145
- }
146
-
147
- .hljs-doctag,
148
- .hljs-strong {
149
- font-weight: bold;
150
- }
151
-
152
- .hljs-emphasis {
153
- font-style: italic;
154
- }
155
-
@@ -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; text-decoration: underline }
9
11
  /* KeywordConstant */ .highlight-chroma .highlight-kc { font-weight: bold; text-decoration: underline }
10
12
  /* KeywordDeclaration */ .highlight-chroma .highlight-kd { font-weight: bold; font-style: italic; text-decoration: underline }
@@ -41,102 +43,3 @@
41
43
  /* CommentSpecial */ .highlight-chroma .highlight-cs { color: #888888; font-weight: bold }
42
44
  /* CommentPreproc */ .highlight-chroma .highlight-cp { color: #888888; font-weight: bold }
43
45
  /* CommentPreprocFile */ .highlight-chroma .highlight-cpf { color: #888888; font-weight: bold }
44
-
45
- /*
46
- Docco style used in http://jashkenas.github.com/docco/ converted by Simon Madine (@thingsinjars)
47
- */
48
-
49
- .hljs {
50
- display: block;
51
- overflow-x: auto;
52
- padding: 0.5em;
53
- color: #000;
54
- background: #f8f8ff;
55
- }
56
-
57
- .hljs-comment,
58
- .hljs-quote {
59
- color: #408080;
60
- font-style: italic;
61
- }
62
-
63
- .hljs-keyword,
64
- .hljs-selector-tag,
65
- .hljs-literal,
66
- .hljs-subst {
67
- color: #954121;
68
- }
69
-
70
- .hljs-number {
71
- color: #40a070;
72
- }
73
-
74
- .hljs-string,
75
- .hljs-doctag {
76
- color: #219161;
77
- }
78
-
79
- .hljs-selector-id,
80
- .hljs-selector-class,
81
- .hljs-section,
82
- .hljs-type {
83
- color: #19469d;
84
- }
85
-
86
- .hljs-params {
87
- color: #00f;
88
- }
89
-
90
- .hljs-title {
91
- color: #458;
92
- font-weight: bold;
93
- }
94
-
95
- .hljs-tag,
96
- .hljs-name,
97
- .hljs-attribute {
98
- color: #000080;
99
- font-weight: normal;
100
- }
101
-
102
- .hljs-variable,
103
- .hljs-template-variable {
104
- color: #008080;
105
- }
106
-
107
- .hljs-regexp,
108
- .hljs-link {
109
- color: #b68;
110
- }
111
-
112
- .hljs-symbol,
113
- .hljs-bullet {
114
- color: #990073;
115
- }
116
-
117
- .hljs-built_in,
118
- .hljs-builtin-name {
119
- color: #0086b3;
120
- }
121
-
122
- .hljs-meta {
123
- color: #999;
124
- font-weight: bold;
125
- }
126
-
127
- .hljs-deletion {
128
- background: #fdd;
129
- }
130
-
131
- .hljs-addition {
132
- background: #dfd;
133
- }
134
-
135
- .hljs-emphasis {
136
- font-style: italic;
137
- }
138
-
139
- .hljs-strong {
140
- font-weight: bold;
141
- }
142
-
@@ -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; font-style: italic }
@@ -41,50 +43,3 @@
41
43
  /* CommentSpecial */ .highlight-chroma .highlight-cs { color: #888888; font-weight: bold }
42
44
  /* CommentPreproc */ .highlight-chroma .highlight-cp { color: #888888; font-weight: bold }
43
45
  /* CommentPreprocFile */ .highlight-chroma .highlight-cpf { color: #888888; font-weight: bold }
44
-
45
- /*
46
-
47
- Original style from softwaremaniacs.org (c) Ivan Sagalaev <Maniac@SoftwareManiacs.Org>
48
-
49
- */
50
-
51
- .hljs {
52
- display: block;
53
- overflow-x: auto;
54
- padding: 0.5em;
55
- background: white;
56
- color: black;
57
- }
58
-
59
- .hljs-string,
60
- .hljs-variable,
61
- .hljs-template-variable,
62
- .hljs-symbol,
63
- .hljs-bullet,
64
- .hljs-section,
65
- .hljs-addition,
66
- .hljs-attribute,
67
- .hljs-link {
68
- color: #888;
69
- }
70
-
71
- .hljs-comment,
72
- .hljs-quote,
73
- .hljs-meta,
74
- .hljs-deletion {
75
- color: #ccc;
76
- }
77
-
78
- .hljs-keyword,
79
- .hljs-selector-tag,
80
- .hljs-section,
81
- .hljs-name,
82
- .hljs-type,
83
- .hljs-strong {
84
- font-weight: bold;
85
- }
86
-
87
- .hljs-emphasis {
88
- font-style: italic;
89
- }
90
-
@@ -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 }
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: #728e00 }
9
11
  /* KeywordConstant */ .highlight-chroma .highlight-kc { color: #00979d }
10
12
  /* KeywordDeclaration */ .highlight-chroma .highlight-kd { color: #728e00 }
@@ -63,93 +65,3 @@
63
65
  /* CommentSpecial */ .highlight-chroma .highlight-cs { color: #95a5a6 }
64
66
  /* CommentPreproc */ .highlight-chroma .highlight-cp { color: #728e00 }
65
67
  /* CommentPreprocFile */ .highlight-chroma .highlight-cpf { color: #728e00 }
66
-
67
- /*
68
-
69
- Arduino® Light Theme - Stefania Mellai <s.mellai@arduino.cc>
70
-
71
- */
72
-
73
- .hljs {
74
- display: block;
75
- overflow-x: auto;
76
- padding: 0.5em;
77
- background: #FFFFFF;
78
- }
79
-
80
- .hljs,
81
- .hljs-subst {
82
- color: #434f54;
83
- }
84
-
85
- .hljs-keyword,
86
- .hljs-attribute,
87
- .hljs-selector-tag,
88
- .hljs-doctag,
89
- .hljs-name {
90
- color: #00979D;
91
- }
92
-
93
- .hljs-built_in,
94
- .hljs-literal,
95
- .hljs-bullet,
96
- .hljs-code,
97
- .hljs-addition {
98
- color: #D35400;
99
- }
100
-
101
- .hljs-regexp,
102
- .hljs-symbol,
103
- .hljs-variable,
104
- .hljs-template-variable,
105
- .hljs-link,
106
- .hljs-selector-attr,
107
- .hljs-selector-pseudo {
108
- color: #00979D;
109
- }
110
-
111
- .hljs-type,
112
- .hljs-string,
113
- .hljs-selector-id,
114
- .hljs-selector-class,
115
- .hljs-quote,
116
- .hljs-template-tag,
117
- .hljs-deletion {
118
- color: #005C5F;
119
- }
120
-
121
- .hljs-title,
122
- .hljs-section {
123
- color: #880000;
124
- font-weight: bold;
125
- }
126
-
127
- .hljs-comment {
128
- color: rgba(149,165,166,.8);
129
- }
130
-
131
- .hljs-meta-keyword {
132
- color: #728E00;
133
- }
134
-
135
- .hljs-meta {
136
- color: #728E00;
137
- color: #434f54;
138
- }
139
-
140
- .hljs-emphasis {
141
- font-style: italic;
142
- }
143
-
144
- .hljs-strong {
145
- font-weight: bold;
146
- }
147
-
148
- .hljs-function {
149
- color: #728E00;
150
- }
151
-
152
- .hljs-number {
153
- color: #8A7B52;
154
- }
155
-
@@ -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: #0000aa }
9
11
  /* KeywordConstant */ .highlight-chroma .highlight-kc { color: #0000aa }
10
12
  /* KeywordDeclaration */ .highlight-chroma .highlight-kd { color: #0000aa }
@@ -63,74 +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
- /* Base16 Atelier Heath Light - Theme */
68
- /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/heath) */
69
- /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */
70
-
71
- /* Atelier-Heath Comment */
72
- .hljs-comment,
73
- .hljs-quote {
74
- color: #776977;
75
- }
76
-
77
- /* Atelier-Heath Red */
78
- .hljs-variable,
79
- .hljs-template-variable,
80
- .hljs-attribute,
81
- .hljs-tag,
82
- .hljs-name,
83
- .hljs-regexp,
84
- .hljs-link,
85
- .hljs-name,
86
- .hljs-selector-id,
87
- .hljs-selector-class {
88
- color: #ca402b;
89
- }
90
-
91
- /* Atelier-Heath Orange */
92
- .hljs-number,
93
- .hljs-meta,
94
- .hljs-built_in,
95
- .hljs-builtin-name,
96
- .hljs-literal,
97
- .hljs-type,
98
- .hljs-params {
99
- color: #a65926;
100
- }
101
-
102
- /* Atelier-Heath Green */
103
- .hljs-string,
104
- .hljs-symbol,
105
- .hljs-bullet {
106
- color: #918b3b;
107
- }
108
-
109
- /* Atelier-Heath Blue */
110
- .hljs-title,
111
- .hljs-section {
112
- color: #516aec;
113
- }
114
-
115
- /* Atelier-Heath Purple */
116
- .hljs-keyword,
117
- .hljs-selector-tag {
118
- color: #7b59c0;
119
- }
120
-
121
- .hljs {
122
- display: block;
123
- overflow-x: auto;
124
- background: #f7f3f7;
125
- color: #695d69;
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 { 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: #000080; font-weight: bold }
9
11
  /* KeywordConstant */ .highlight-chroma .highlight-kc { color: #000080; font-weight: bold }
10
12
  /* KeywordDeclaration */ .highlight-chroma .highlight-kd { color: #000080; font-weight: bold }
@@ -55,92 +57,3 @@
55
57
  /* GenericTraceback */ .highlight-chroma .highlight-gt { color: #aa0000 }
56
58
  /* GenericUnderline */ .highlight-chroma .highlight-gl { text-decoration: underline }
57
59
  /* TextWhitespace */ .highlight-chroma .highlight-w { color: #bbbbbb }
58
-
59
- /*
60
-
61
- Lightfair style (c) Tristian Kelly <tristian.kelly560@gmail.com>
62
-
63
- */
64
-
65
- .hljs {
66
- display: block;
67
- overflow-x: auto;
68
- padding: 0.5em;
69
- }
70
-
71
- .hljs-name {
72
- color:#01a3a3;
73
- }
74
-
75
- .hljs-tag,.hljs-meta {
76
- color:#778899;
77
- }
78
-
79
- .hljs,
80
- .hljs-subst {
81
- color: #444
82
- }
83
-
84
- .hljs-comment {
85
- color: #888888
86
- }
87
-
88
- .hljs-keyword,
89
- .hljs-attribute,
90
- .hljs-selector-tag,
91
- .hljs-meta-keyword,
92
- .hljs-doctag,
93
- .hljs-name {
94
- font-weight: bold
95
- }
96
-
97
- .hljs-type,
98
- .hljs-string,
99
- .hljs-number,
100
- .hljs-selector-id,
101
- .hljs-selector-class,
102
- .hljs-quote,
103
- .hljs-template-tag,
104
- .hljs-deletion {
105
- color: #4286f4
106
- }
107
-
108
- .hljs-title,
109
- .hljs-section {
110
- color: #4286f4;
111
- font-weight: bold
112
- }
113
-
114
- .hljs-regexp,
115
- .hljs-symbol,
116
- .hljs-variable,
117
- .hljs-template-variable,
118
- .hljs-link,
119
- .hljs-selector-attr,
120
- .hljs-selector-pseudo {
121
- color: #BC6060
122
- }
123
-
124
- .hljs-literal {
125
- color: #62bcbc
126
- }
127
-
128
- .hljs-built_in,
129
- .hljs-bullet,
130
- .hljs-code,
131
- .hljs-addition {
132
- color: #25c6c6
133
- }
134
-
135
- .hljs-meta-string {
136
- color: #4d99bf
137
- }
138
-
139
- .hljs-emphasis {
140
- font-style: italic
141
- }
142
-
143
- .hljs-strong {
144
- font-weight: bold
145
- }
146
-