vditor 3.8.4 → 3.8.8

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 (110) hide show
  1. package/CHANGELOG.md +45 -8
  2. package/README.md +49 -46
  3. package/dist/css/content-theme/ant-design.css +185 -1
  4. package/dist/css/content-theme/dark.css +98 -1
  5. package/dist/css/content-theme/light.css +76 -1
  6. package/dist/css/content-theme/wechat.css +69 -1
  7. package/dist/index.css +10 -8
  8. package/dist/index.d.ts +5 -1
  9. package/dist/index.min.js +15433 -8
  10. package/dist/js/.DS_Store +0 -0
  11. package/dist/js/highlight.js/highlight.pack.js +1617 -2
  12. package/dist/js/highlight.js/styles/abap.css +155 -1
  13. package/dist/js/highlight.js/styles/algol.css +142 -1
  14. package/dist/js/highlight.js/styles/algol_nu.css +90 -1
  15. package/dist/js/highlight.js/styles/ant-design.css +469 -1
  16. package/dist/js/highlight.js/styles/arduino.css +155 -1
  17. package/dist/js/highlight.js/styles/autumn.css +136 -1
  18. package/dist/js/highlight.js/styles/borland.css +146 -1
  19. package/dist/js/highlight.js/styles/bw.css +149 -1
  20. package/dist/js/highlight.js/styles/colorful.css +156 -1
  21. package/dist/js/highlight.js/styles/dracula.css +139 -1
  22. package/dist/js/highlight.js/styles/emacs.css +166 -1
  23. package/dist/js/highlight.js/styles/friendly.css +182 -1
  24. package/dist/js/highlight.js/styles/fruity.css +121 -1
  25. package/dist/js/highlight.js/styles/github.css +173 -1
  26. package/dist/js/highlight.js/styles/igor.css +122 -1
  27. package/dist/js/highlight.js/styles/lovelace.css +145 -1
  28. package/dist/js/highlight.js/styles/manni.css +138 -1
  29. package/dist/js/highlight.js/styles/monokai.css +131 -1
  30. package/dist/js/highlight.js/styles/monokailight.css +179 -1
  31. package/dist/js/highlight.js/styles/murphy.css +144 -1
  32. package/dist/js/highlight.js/styles/native.css +163 -1
  33. package/dist/js/highlight.js/styles/paraiso-dark.css +136 -1
  34. package/dist/js/highlight.js/styles/paraiso-light.css +135 -1
  35. package/dist/js/highlight.js/styles/pastie.css +180 -1
  36. package/dist/js/highlight.js/styles/perldoc.css +140 -1
  37. package/dist/js/highlight.js/styles/pygments.css +158 -1
  38. package/dist/js/highlight.js/styles/rainbow_dash.css +163 -1
  39. package/dist/js/highlight.js/styles/rrt.css +158 -1
  40. package/dist/js/highlight.js/styles/solarized-dark.css +145 -1
  41. package/dist/js/highlight.js/styles/solarized-dark256.css +145 -1
  42. package/dist/js/highlight.js/styles/solarized-light.css +162 -1
  43. package/dist/js/highlight.js/styles/swapoff.css +144 -1
  44. package/dist/js/highlight.js/styles/tango.css +183 -1
  45. package/dist/js/highlight.js/styles/trac.css +166 -1
  46. package/dist/js/highlight.js/styles/vim.css +143 -1
  47. package/dist/js/highlight.js/styles/vs.css +112 -1
  48. package/dist/js/highlight.js/styles/xcode.css +173 -1
  49. package/dist/js/i18n/en_US.js +85 -0
  50. package/dist/js/i18n/ja_JP.js +85 -0
  51. package/dist/js/i18n/ko_KR.js +85 -0
  52. package/dist/js/i18n/ru_RU.js +85 -0
  53. package/dist/js/i18n/zh_CN.js +85 -0
  54. package/dist/js/i18n/zh_TW.js +85 -0
  55. package/dist/js/katex/katex.min.css +1 -1
  56. package/dist/js/lute/lute.min.js +31 -28
  57. package/dist/js/mathjax/.DS_Store +0 -0
  58. package/dist/js/mathjax/input/tex/extensions/{colorv2.js → colorV2.js} +0 -0
  59. package/dist/js/mathjax/input/tex/extensions/{configmacros.js → configMacros.js} +0 -0
  60. package/dist/js/mathjax/input/tex/extensions/{tagformat.js → tagFormat.js} +0 -0
  61. package/dist/js/mathjax/tex-svg-full.js +1 -0
  62. package/dist/method.d.ts +6 -3
  63. package/dist/method.min.js +2334 -8
  64. package/dist/ts/markdown/adapterRender.d.ts +33 -0
  65. package/dist/ts/markdown/codeRender.d.ts +1 -2
  66. package/dist/ts/ui/initUI.d.ts +1 -0
  67. package/dist/ts/wysiwyg/index.d.ts +2 -0
  68. package/dist/types/index.d.ts +105 -8
  69. package/package.json +23 -24
  70. package/src/assets/.DS_Store +0 -0
  71. package/src/assets/scss/_content.scss +4 -0
  72. package/src/assets/scss/_reset.scss +11 -0
  73. package/src/index.ts +159 -99
  74. package/src/method.ts +6 -2
  75. package/src/ts/.DS_Store +0 -0
  76. package/src/ts/constants.ts +8 -4
  77. package/src/ts/export/index.ts +7 -5
  78. package/src/ts/hint/index.ts +20 -11
  79. package/src/ts/markdown/abcRender.ts +3 -2
  80. package/src/ts/markdown/adapterRender.ts +33 -0
  81. package/src/ts/markdown/chartRender.ts +3 -2
  82. package/src/ts/markdown/codeRender.ts +5 -6
  83. package/src/ts/markdown/flowchartRender.ts +3 -2
  84. package/src/ts/markdown/graphvizRender.ts +13 -11
  85. package/src/ts/markdown/highlightRender.ts +3 -3
  86. package/src/ts/markdown/mathRender.ts +6 -5
  87. package/src/ts/markdown/mermaidRender.ts +4 -2
  88. package/src/ts/markdown/mindmapRender.ts +3 -2
  89. package/src/ts/markdown/plantumlRender.ts +3 -2
  90. package/src/ts/markdown/previewRender.ts +26 -4
  91. package/src/ts/preview/image.ts +2 -4
  92. package/src/ts/preview/index.ts +2 -5
  93. package/src/ts/toolbar/EditMode.ts +3 -4
  94. package/src/ts/toolbar/Headings.ts +6 -6
  95. package/src/ts/toolbar/Info.ts +1 -1
  96. package/src/ts/toolbar/MenuItem.ts +1 -3
  97. package/src/ts/toolbar/Record.ts +3 -4
  98. package/src/ts/ui/initUI.ts +19 -5
  99. package/src/ts/undo/index.ts +5 -5
  100. package/src/ts/upload/index.ts +8 -8
  101. package/src/ts/util/Options.ts +255 -196
  102. package/src/ts/util/editorCommonEvent.ts +2 -2
  103. package/src/ts/util/fixBrowserBehavior.ts +10 -6
  104. package/src/ts/util/processCode.ts +1 -1
  105. package/src/ts/wysiwyg/highlightToolbarWYSIWYG.ts +298 -138
  106. package/src/ts/wysiwyg/index.ts +9 -4
  107. package/dist/js/mathjax/input/.DS_Store +0 -0
  108. package/dist/js/mathjax/tex-svg.js +0 -1
  109. package/dist/ts/i18n/index.d.ts +0 -2
  110. package/src/ts/i18n/index.ts +0 -318
@@ -1 +1,469 @@
1
- .highlight-chroma{display:block;padding:16px 32px;color:rgba(0,0,0,.85);font-size:14px;font-family:lucida console,Consolas,Monaco,andale mono,ubuntu mono,monospace;line-height:2;white-space:pre;background:#fff;border:1px solid #e9e9e9;border-radius:2px}.highlight-chroma::selection{text-shadow:none;background:#b3d4fc}.highlight-o{color:#0b8235}.highlight-p{color:#999}.highlight-chroma .highlight-err{color:#a61717;background-color:#e3d2d2}.highlight-chroma .highlight-lntd{vertical-align:top;padding:0;margin:0;border:0}.highlight-chroma .highlight-lntable{border-spacing:0;padding:0;margin:0;border:0;width:auto;overflow:auto;display:block}.highlight-chroma .highlight-hl{display:block;width:100%;background-color:#363636}.highlight-chroma .highlight-ln,.highlight-chroma .highlight-lnt{margin-right:.4em;padding:0 .4em;color:#686868}.highlight-chroma .highlight-k,.highlight-chroma .highlight-kc,.highlight-chroma .highlight-kd,.highlight-chroma .highlight-kn{color:#6ab825;font-weight:700}.highlight-chroma .highlight-kp{color:#6ab825}.highlight-chroma .highlight-kr{color:#008dff}.highlight-chroma .highlight-kt{color:#6ab825;font-weight:700}.highlight-chroma .highlight-na{color:#bbb}.highlight-chroma .highlight-nb{color:#24909d}.highlight-chroma .highlight-nc{color:#447fcf;text-decoration:underline}.highlight-chroma .highlight-no{color:#40ffff}.highlight-chroma .highlight-nd{color:orange}.highlight-chroma .highlight-ne{color:#bbb}.highlight-chroma .highlight-nf{color:#447fcf}.highlight-chroma .highlight-nn{color:#447fcf;text-decoration:underline}.highlight-chroma .highlight-nt{color:#6ab825;font-weight:700}.highlight-chroma .highlight-nv{color:#40ffff}.highlight-chroma .highlight-dl,.highlight-chroma .highlight-s,.highlight-chroma .highlight-s2,.highlight-chroma .highlight-sa,.highlight-chroma .highlight-sb,.highlight-chroma .highlight-sc,.highlight-chroma .highlight-sd,.highlight-chroma .highlight-se,.highlight-chroma .highlight-sh,.highlight-chroma .highlight-si{color:#ed9d13}.highlight-chroma .highlight-sx{color:orange}.highlight-chroma .highlight-sr{color:#e90}.highlight-chroma .highlight-s1{color:#0b8235}.highlight-chroma .highlight-ss{color:#ed9d13}.highlight-chroma .highlight-il,.highlight-chroma .highlight-m,.highlight-chroma .highlight-mb,.highlight-chroma .highlight-mf,.highlight-chroma .highlight-mh,.highlight-chroma .highlight-mi,.highlight-chroma .highlight-mo{color:#3677a9}.highlight-chroma .highlight-ow{color:#6ab825;font-weight:700}.highlight-chroma .highlight-c,.highlight-chroma .highlight-ch,.highlight-chroma .highlight-cm{color:#999;font-style:italic}.highlight-chroma .highlight-c1{color:#708090;font-style:italic}.highlight-chroma .highlight-cs{color:#e50808;background-color:#520000;font-weight:700}.highlight-chroma .highlight-cp,.highlight-chroma .highlight-cpf{color:#cd2828;font-weight:700}.highlight-chroma .highlight-gd{color:#d22323}.highlight-chroma .highlight-ge{font-style:italic}.highlight-chroma .highlight-gr{color:#d22323}.highlight-chroma .highlight-gh{color:#fff;font-weight:700}.highlight-chroma .highlight-gi{color:#589819}.highlight-chroma .highlight-go{color:#ccc}.highlight-chroma .highlight-gp{color:#aaa}.highlight-chroma .highlight-gs{font-weight:700}.highlight-chroma .highlight-gu{color:#fff;text-decoration:underline}.highlight-chroma .highlight-gt{color:#d22323}.highlight-chroma .highlight-gl{text-decoration:underline}.highlight-chroma .highlight-w{color:#666}.hljs{display:block;padding:16px 32px;color:rgba(0,0,0,.85);font-size:14px;font-family:lucida console,Consolas,Monaco,andale mono,ubuntu mono,monospace;line-height:2;white-space:pre;background:#fff;border:1px solid #e9e9e9;border-radius:2px}.hljs::selection{text-shadow:none;background:#b3d4fc}.hljs-comment,.hljs-quote{color:#708090;font-style:italic}.hljs-doctag,.hljs-formula,.hljs-keyword{color:#008dff}.hljs-deletion,.hljs-name,.hljs-section,.hljs-selector-tag,.hljs-subst{color:#999}.hljs-literal{color:#56b6c2}.hljs-regexp{color:#e90}.hljs-addition,.hljs-attribute,.hljs-meta-string,.hljs-string{color:#0b8235}.hljs-built_in,.hljs-class .hljs-title{color:#e6c07b}.hljs-attr,.hljs-bullet,.hljs-link,.hljs-meta,.hljs-number,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id,.hljs-selector-pseudo,.hljs-symbol,.hljs-template-variable,.hljs-title,.hljs-type,.hljs-variable{color:#f81d22}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}.hljs-link{text-decoration:underline}
1
+ /* Background */
2
+ .highlight-chroma {
3
+ display: block;
4
+ padding: 16px 32px;
5
+ color: rgba(0, 0, 0, .85);
6
+ font-size: 14px;
7
+ font-family: lucida console, Consolas, Monaco, andale mono, ubuntu mono, monospace;
8
+ line-height: 2;
9
+ white-space: pre;
10
+ background: white;
11
+ border: 1px solid #e9e9e9;
12
+ border-radius: 2px;
13
+ }
14
+
15
+ .highlight-chroma::selection {
16
+ text-shadow: none;
17
+ background: #b3d4fc;
18
+ }
19
+ .highlight-o {
20
+ color: #0b8235;
21
+ }
22
+ .highlight-p {
23
+ color: #999;
24
+ }
25
+ /* Error */
26
+ .highlight-chroma .highlight-err {
27
+ color: #a61717;
28
+ background-color: #e3d2d2
29
+ }
30
+
31
+ /* LineTableTD */
32
+ .highlight-chroma .highlight-lntd {
33
+ vertical-align: top;
34
+ padding: 0;
35
+ margin: 0;
36
+ border: 0;
37
+ }
38
+
39
+ /* LineTable */
40
+ .highlight-chroma .highlight-lntable {
41
+ border-spacing: 0;
42
+ padding: 0;
43
+ margin: 0;
44
+ border: 0;
45
+ width: auto;
46
+ overflow: auto;
47
+ display: block;
48
+ }
49
+
50
+ /* LineHighlight */
51
+ .highlight-chroma .highlight-hl {
52
+ display: block;
53
+ width: 100%;
54
+ background-color: #363636
55
+ }
56
+
57
+ /* LineNumbersTable */
58
+ .highlight-chroma .highlight-lnt {
59
+ margin-right: 0.4em;
60
+ padding: 0 0.4em 0 0.4em;
61
+ color: #686868
62
+ }
63
+
64
+ /* LineNumbers */
65
+ .highlight-chroma .highlight-ln {
66
+ margin-right: 0.4em;
67
+ padding: 0 0.4em 0 0.4em;
68
+ color: #686868
69
+ }
70
+
71
+ /* Keyword */
72
+ .highlight-chroma .highlight-k {
73
+ color: #6ab825;
74
+ font-weight: bold
75
+ }
76
+
77
+ /* KeywordConstant */
78
+ .highlight-chroma .highlight-kc {
79
+ color: #6ab825;
80
+ font-weight: bold
81
+ }
82
+
83
+ /* KeywordDeclaration */
84
+ .highlight-chroma .highlight-kd {
85
+ color: #6ab825;
86
+ font-weight: bold
87
+ }
88
+
89
+ /* KeywordNamespace */
90
+ .highlight-chroma .highlight-kn {
91
+ color: #6ab825;
92
+ font-weight: bold
93
+ }
94
+
95
+ /* KeywordPseudo */
96
+ .highlight-chroma .highlight-kp {
97
+ color: #6ab825
98
+ }
99
+
100
+ /* KeywordReserved */
101
+ .highlight-chroma .highlight-kr {
102
+ color: #008dff;
103
+ }
104
+
105
+ /* KeywordType */
106
+ .highlight-chroma .highlight-kt {
107
+ color: #6ab825;
108
+ font-weight: bold
109
+ }
110
+
111
+ /* NameAttribute */
112
+ .highlight-chroma .highlight-na {
113
+ color: #bbbbbb
114
+ }
115
+
116
+ /* NameBuiltin */
117
+ .highlight-chroma .highlight-nb {
118
+ color: #24909d
119
+ }
120
+
121
+ /* NameClass */
122
+ .highlight-chroma .highlight-nc {
123
+ color: #447fcf;
124
+ text-decoration: underline
125
+ }
126
+
127
+ /* NameConstant */
128
+ .highlight-chroma .highlight-no {
129
+ color: #40ffff
130
+ }
131
+
132
+ /* NameDecorator */
133
+ .highlight-chroma .highlight-nd {
134
+ color: #ffa500
135
+ }
136
+
137
+ /* NameException */
138
+ .highlight-chroma .highlight-ne {
139
+ color: #bbbbbb
140
+ }
141
+
142
+ /* NameFunction */
143
+ .highlight-chroma .highlight-nf {
144
+ color: #447fcf
145
+ }
146
+
147
+ /* NameNamespace */
148
+ .highlight-chroma .highlight-nn {
149
+ color: #447fcf;
150
+ text-decoration: underline
151
+ }
152
+
153
+ /* NameTag */
154
+ .highlight-chroma .highlight-nt {
155
+ color: #6ab825;
156
+ font-weight: bold
157
+ }
158
+
159
+ /* NameVariable */
160
+ .highlight-chroma .highlight-nv {
161
+ color: #40ffff
162
+ }
163
+
164
+ /* LiteralString */
165
+ .highlight-chroma .highlight-s {
166
+ color: #ed9d13
167
+ }
168
+
169
+ /* LiteralStringAffix */
170
+ .highlight-chroma .highlight-sa {
171
+ color: #ed9d13
172
+ }
173
+
174
+ /* LiteralStringBacktick */
175
+ .highlight-chroma .highlight-sb {
176
+ color: #ed9d13
177
+ }
178
+
179
+ /* LiteralStringChar */
180
+ .highlight-chroma .highlight-sc {
181
+ color: #ed9d13
182
+ }
183
+
184
+ /* LiteralStringDelimiter */
185
+ .highlight-chroma .highlight-dl {
186
+ color: #ed9d13
187
+ }
188
+
189
+ /* LiteralStringDoc */
190
+ .highlight-chroma .highlight-sd {
191
+ color: #ed9d13
192
+ }
193
+
194
+ /* LiteralStringDouble */
195
+ .highlight-chroma .highlight-s2 {
196
+ color: #ed9d13
197
+ }
198
+
199
+ /* LiteralStringEscape */
200
+ .highlight-chroma .highlight-se {
201
+ color: #ed9d13
202
+ }
203
+
204
+ /* LiteralStringHeredoc */
205
+ .highlight-chroma .highlight-sh {
206
+ color: #ed9d13
207
+ }
208
+
209
+ /* LiteralStringInterpol */
210
+ .highlight-chroma .highlight-si {
211
+ color: #ed9d13
212
+ }
213
+
214
+ /* LiteralStringOther */
215
+ .highlight-chroma .highlight-sx {
216
+ color: #ffa500
217
+ }
218
+
219
+ /* LiteralStringRegex */
220
+ .highlight-chroma .highlight-sr {
221
+ color: #e90;
222
+ }
223
+
224
+ /* LiteralStringSingle */
225
+ .highlight-chroma .highlight-s1 {
226
+ color: #0b8235
227
+ }
228
+
229
+ /* LiteralStringSymbol */
230
+ .highlight-chroma .highlight-ss {
231
+ color: #ed9d13
232
+ }
233
+
234
+ /* LiteralNumber */
235
+ .highlight-chroma .highlight-m {
236
+ color: #3677a9
237
+ }
238
+
239
+ /* LiteralNumberBin */
240
+ .highlight-chroma .highlight-mb {
241
+ color: #3677a9
242
+ }
243
+
244
+ /* LiteralNumberFloat */
245
+ .highlight-chroma .highlight-mf {
246
+ color: #3677a9
247
+ }
248
+
249
+ /* LiteralNumberHex */
250
+ .highlight-chroma .highlight-mh {
251
+ color: #3677a9
252
+ }
253
+
254
+ /* LiteralNumberInteger */
255
+ .highlight-chroma .highlight-mi {
256
+ color: #3677a9
257
+ }
258
+
259
+ /* LiteralNumberIntegerLong */
260
+ .highlight-chroma .highlight-il {
261
+ color: #3677a9
262
+ }
263
+
264
+ /* LiteralNumberOct */
265
+ .highlight-chroma .highlight-mo {
266
+ color: #3677a9
267
+ }
268
+
269
+ /* OperatorWord */
270
+ .highlight-chroma .highlight-ow {
271
+ color: #6ab825;
272
+ font-weight: bold
273
+ }
274
+
275
+ /* Comment */
276
+ .highlight-chroma .highlight-c {
277
+ color: #999999;
278
+ font-style: italic
279
+ }
280
+
281
+ /* CommentHashbang */
282
+ .highlight-chroma .highlight-ch {
283
+ color: #999999;
284
+ font-style: italic
285
+ }
286
+
287
+ /* CommentMultiline */
288
+ .highlight-chroma .highlight-cm {
289
+ color: #999999;
290
+ font-style: italic
291
+ }
292
+
293
+ /* CommentSingle */
294
+ .highlight-chroma .highlight-c1 {
295
+ color: #708090;
296
+ font-style: italic
297
+ }
298
+
299
+ /* CommentSpecial */
300
+ .highlight-chroma .highlight-cs {
301
+ color: #e50808;
302
+ background-color: #520000;
303
+ font-weight: bold
304
+ }
305
+
306
+ /* CommentPreproc */
307
+ .highlight-chroma .highlight-cp {
308
+ color: #cd2828;
309
+ font-weight: bold
310
+ }
311
+
312
+ /* CommentPreprocFile */
313
+ .highlight-chroma .highlight-cpf {
314
+ color: #cd2828;
315
+ font-weight: bold
316
+ }
317
+
318
+ /* GenericDeleted */
319
+ .highlight-chroma .highlight-gd {
320
+ color: #d22323
321
+ }
322
+
323
+ /* GenericEmph */
324
+ .highlight-chroma .highlight-ge {
325
+ font-style: italic
326
+ }
327
+
328
+ /* GenericError */
329
+ .highlight-chroma .highlight-gr {
330
+ color: #d22323
331
+ }
332
+
333
+ /* GenericHeading */
334
+ .highlight-chroma .highlight-gh {
335
+ color: #ffffff;
336
+ font-weight: bold
337
+ }
338
+
339
+ /* GenericInserted */
340
+ .highlight-chroma .highlight-gi {
341
+ color: #589819
342
+ }
343
+
344
+ /* GenericOutput */
345
+ .highlight-chroma .highlight-go {
346
+ color: #cccccc
347
+ }
348
+
349
+ /* GenericPrompt */
350
+ .highlight-chroma .highlight-gp {
351
+ color: #aaaaaa
352
+ }
353
+
354
+ /* GenericStrong */
355
+ .highlight-chroma .highlight-gs {
356
+ font-weight: bold
357
+ }
358
+
359
+ /* GenericSubheading */
360
+ .highlight-chroma .highlight-gu {
361
+ color: #ffffff;
362
+ text-decoration: underline
363
+ }
364
+
365
+ /* GenericTraceback */
366
+ .highlight-chroma .highlight-gt {
367
+ color: #d22323
368
+ }
369
+
370
+ /* GenericUnderline */
371
+ .highlight-chroma .highlight-gl {
372
+ text-decoration: underline
373
+ }
374
+
375
+ /* TextWhitespace */
376
+ .highlight-chroma .highlight-w {
377
+ color: #666666
378
+ }
379
+
380
+ .hljs {
381
+ display: block;
382
+ padding: 16px 32px;
383
+ color: rgba(0, 0, 0, .85);
384
+ font-size: 14px;
385
+ font-family: lucida console, Consolas, Monaco, andale mono, ubuntu mono, monospace;
386
+ line-height: 2;
387
+ white-space: pre;
388
+ background: white;
389
+ border: 1px solid #e9e9e9;
390
+ border-radius: 2px;
391
+ }
392
+
393
+ .hljs::selection {
394
+ text-shadow: none;
395
+ background: #b3d4fc;
396
+ }
397
+
398
+ .hljs-comment,
399
+ .hljs-quote {
400
+ color: #708090;
401
+ font-style: italic;
402
+ }
403
+
404
+ .hljs-doctag,
405
+ .hljs-keyword,
406
+ .hljs-formula {
407
+ color: #008dff;
408
+ }
409
+
410
+ .hljs-section,
411
+ .hljs-name,
412
+ .hljs-selector-tag,
413
+ .hljs-deletion,
414
+ .hljs-subst {
415
+ color: #999;
416
+ }
417
+
418
+ .hljs-literal {
419
+ color: #56b6c2;
420
+ }
421
+
422
+
423
+ .hljs-regexp {
424
+ color: #e90;
425
+ }
426
+ .hljs-string,
427
+ .hljs-addition,
428
+ .hljs-attribute,
429
+ .hljs-meta-string {
430
+ color: #0b8235;
431
+ }
432
+
433
+ .hljs-built_in,
434
+ .hljs-class .hljs-title {
435
+ color: #e6c07b;
436
+ }
437
+
438
+ .hljs-attr,
439
+ .hljs-variable,
440
+ .hljs-template-variable,
441
+ .hljs-type,
442
+ .hljs-selector-class,
443
+ .hljs-selector-attr,
444
+ .hljs-selector-pseudo,
445
+ .hljs-number {
446
+ color: #f81d22;
447
+ }
448
+
449
+ .hljs-symbol,
450
+ .hljs-bullet,
451
+ .hljs-link,
452
+ .hljs-meta,
453
+ .hljs-selector-id,
454
+ .hljs-title {
455
+ color: #f81d22;
456
+ }
457
+
458
+ .hljs-emphasis {
459
+ font-style: italic;
460
+ }
461
+
462
+ .hljs-strong {
463
+ font-weight: bold;
464
+ }
465
+
466
+ .hljs-link {
467
+ text-decoration: underline;
468
+ }
469
+
@@ -1 +1,155 @@
1
- .highlight-chroma{background-color:#fff}.highlight-chroma .highlight-err{color:#a61717}.highlight-chroma .highlight-lntd{vertical-align:top;padding:0;margin:0;border:0}.highlight-chroma .highlight-lntable{border-spacing:0;padding:0;margin:0;border:0;width:auto;overflow:auto;display:block}.highlight-chroma .highlight-hl{display:block;width:100%;background-color:#e5e5e5}.highlight-chroma .highlight-ln,.highlight-chroma .highlight-lnt{margin-right:.4em;padding:0 .4em;color:#7f7f7f}.highlight-chroma .highlight-k{color:#728e00}.highlight-chroma .highlight-kc{color:#00979d}.highlight-chroma .highlight-kd,.highlight-chroma .highlight-kn{color:#728e00}.highlight-chroma .highlight-kp,.highlight-chroma .highlight-kr,.highlight-chroma .highlight-kt{color:#00979d}.highlight-chroma .highlight-n,.highlight-chroma .highlight-na{color:#434f54}.highlight-chroma .highlight-nb{color:#728e00}.highlight-chroma .highlight-bp,.highlight-chroma .highlight-nc,.highlight-chroma .highlight-nd,.highlight-chroma .highlight-ne,.highlight-chroma .highlight-ni,.highlight-chroma .highlight-no{color:#434f54}.highlight-chroma .highlight-nf{color:#d35400}.highlight-chroma .highlight-fm,.highlight-chroma .highlight-nl,.highlight-chroma .highlight-nn{color:#434f54}.highlight-chroma .highlight-nx{color:#728e00}.highlight-chroma .highlight-nt,.highlight-chroma .highlight-nv,.highlight-chroma .highlight-py,.highlight-chroma .highlight-vc,.highlight-chroma .highlight-vg,.highlight-chroma .highlight-vi,.highlight-chroma .highlight-vm{color:#434f54}.highlight-chroma .highlight-dl,.highlight-chroma .highlight-s,.highlight-chroma .highlight-s1,.highlight-chroma .highlight-s2,.highlight-chroma .highlight-sa,.highlight-chroma .highlight-sb,.highlight-chroma .highlight-sc,.highlight-chroma .highlight-sd,.highlight-chroma .highlight-se,.highlight-chroma .highlight-sh,.highlight-chroma .highlight-si,.highlight-chroma .highlight-sr,.highlight-chroma .highlight-ss,.highlight-chroma .highlight-sx{color:#7f8c8d}.highlight-chroma .highlight-il,.highlight-chroma .highlight-m,.highlight-chroma .highlight-mb,.highlight-chroma .highlight-mf,.highlight-chroma .highlight-mh,.highlight-chroma .highlight-mi,.highlight-chroma .highlight-mo{color:#8a7b52}.highlight-chroma .highlight-o,.highlight-chroma .highlight-ow{color:#728e00}.highlight-chroma .highlight-c,.highlight-chroma .highlight-c1,.highlight-chroma .highlight-ch,.highlight-chroma .highlight-cm,.highlight-chroma .highlight-cs{color:#95a5a6}.highlight-chroma .highlight-cp,.highlight-chroma .highlight-cpf{color:#728e00}.hljs{display:block;overflow-x:auto;padding:.5em;background:#fff}.hljs,.hljs-subst{color:#434f54}.hljs-attribute,.hljs-doctag,.hljs-keyword,.hljs-name,.hljs-selector-tag{color:#00979d}.hljs-addition,.hljs-built_in,.hljs-bullet,.hljs-code,.hljs-literal{color:#d35400}.hljs-link,.hljs-regexp,.hljs-selector-attr,.hljs-selector-pseudo,.hljs-symbol,.hljs-template-variable,.hljs-variable{color:#00979d}.hljs-deletion,.hljs-quote,.hljs-selector-class,.hljs-selector-id,.hljs-string,.hljs-template-tag,.hljs-type{color:#005c5f}.hljs-section,.hljs-title{color:#800;font-weight:700}.hljs-comment{color:rgba(149,165,166,.8)}.hljs-meta-keyword{color:#728e00}.hljs-meta{color:#728e00;color:#434f54}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}.hljs-function{color:#728e00}.hljs-number{color:#8a7b52}
1
+ /* Background */ .highlight-chroma { background-color: #ffffff }
2
+ /* Error */ .highlight-chroma .highlight-err { color: #a61717 }
3
+ /* 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 }
8
+ /* Keyword */ .highlight-chroma .highlight-k { color: #728e00 }
9
+ /* KeywordConstant */ .highlight-chroma .highlight-kc { color: #00979d }
10
+ /* KeywordDeclaration */ .highlight-chroma .highlight-kd { color: #728e00 }
11
+ /* KeywordNamespace */ .highlight-chroma .highlight-kn { color: #728e00 }
12
+ /* KeywordPseudo */ .highlight-chroma .highlight-kp { color: #00979d }
13
+ /* KeywordReserved */ .highlight-chroma .highlight-kr { color: #00979d }
14
+ /* KeywordType */ .highlight-chroma .highlight-kt { color: #00979d }
15
+ /* Name */ .highlight-chroma .highlight-n { color: #434f54 }
16
+ /* NameAttribute */ .highlight-chroma .highlight-na { color: #434f54 }
17
+ /* NameBuiltin */ .highlight-chroma .highlight-nb { color: #728e00 }
18
+ /* NameBuiltinPseudo */ .highlight-chroma .highlight-bp { color: #434f54 }
19
+ /* NameClass */ .highlight-chroma .highlight-nc { color: #434f54 }
20
+ /* NameConstant */ .highlight-chroma .highlight-no { color: #434f54 }
21
+ /* NameDecorator */ .highlight-chroma .highlight-nd { color: #434f54 }
22
+ /* NameEntity */ .highlight-chroma .highlight-ni { color: #434f54 }
23
+ /* NameException */ .highlight-chroma .highlight-ne { color: #434f54 }
24
+ /* NameFunction */ .highlight-chroma .highlight-nf { color: #d35400 }
25
+ /* NameFunctionMagic */ .highlight-chroma .highlight-fm { color: #434f54 }
26
+ /* NameLabel */ .highlight-chroma .highlight-nl { color: #434f54 }
27
+ /* NameNamespace */ .highlight-chroma .highlight-nn { color: #434f54 }
28
+ /* NameOther */ .highlight-chroma .highlight-nx { color: #728e00 }
29
+ /* NameProperty */ .highlight-chroma .highlight-py { color: #434f54 }
30
+ /* NameTag */ .highlight-chroma .highlight-nt { color: #434f54 }
31
+ /* NameVariable */ .highlight-chroma .highlight-nv { color: #434f54 }
32
+ /* NameVariableClass */ .highlight-chroma .highlight-vc { color: #434f54 }
33
+ /* NameVariableGlobal */ .highlight-chroma .highlight-vg { color: #434f54 }
34
+ /* NameVariableInstance */ .highlight-chroma .highlight-vi { color: #434f54 }
35
+ /* NameVariableMagic */ .highlight-chroma .highlight-vm { color: #434f54 }
36
+ /* LiteralString */ .highlight-chroma .highlight-s { color: #7f8c8d }
37
+ /* LiteralStringAffix */ .highlight-chroma .highlight-sa { color: #7f8c8d }
38
+ /* LiteralStringBacktick */ .highlight-chroma .highlight-sb { color: #7f8c8d }
39
+ /* LiteralStringChar */ .highlight-chroma .highlight-sc { color: #7f8c8d }
40
+ /* LiteralStringDelimiter */ .highlight-chroma .highlight-dl { color: #7f8c8d }
41
+ /* LiteralStringDoc */ .highlight-chroma .highlight-sd { color: #7f8c8d }
42
+ /* LiteralStringDouble */ .highlight-chroma .highlight-s2 { color: #7f8c8d }
43
+ /* LiteralStringEscape */ .highlight-chroma .highlight-se { color: #7f8c8d }
44
+ /* LiteralStringHeredoc */ .highlight-chroma .highlight-sh { color: #7f8c8d }
45
+ /* LiteralStringInterpol */ .highlight-chroma .highlight-si { color: #7f8c8d }
46
+ /* LiteralStringOther */ .highlight-chroma .highlight-sx { color: #7f8c8d }
47
+ /* LiteralStringRegex */ .highlight-chroma .highlight-sr { color: #7f8c8d }
48
+ /* LiteralStringSingle */ .highlight-chroma .highlight-s1 { color: #7f8c8d }
49
+ /* LiteralStringSymbol */ .highlight-chroma .highlight-ss { color: #7f8c8d }
50
+ /* LiteralNumber */ .highlight-chroma .highlight-m { color: #8a7b52 }
51
+ /* LiteralNumberBin */ .highlight-chroma .highlight-mb { color: #8a7b52 }
52
+ /* LiteralNumberFloat */ .highlight-chroma .highlight-mf { color: #8a7b52 }
53
+ /* LiteralNumberHex */ .highlight-chroma .highlight-mh { color: #8a7b52 }
54
+ /* LiteralNumberInteger */ .highlight-chroma .highlight-mi { color: #8a7b52 }
55
+ /* LiteralNumberIntegerLong */ .highlight-chroma .highlight-il { color: #8a7b52 }
56
+ /* LiteralNumberOct */ .highlight-chroma .highlight-mo { color: #8a7b52 }
57
+ /* Operator */ .highlight-chroma .highlight-o { color: #728e00 }
58
+ /* OperatorWord */ .highlight-chroma .highlight-ow { color: #728e00 }
59
+ /* Comment */ .highlight-chroma .highlight-c { color: #95a5a6 }
60
+ /* CommentHashbang */ .highlight-chroma .highlight-ch { color: #95a5a6 }
61
+ /* CommentMultiline */ .highlight-chroma .highlight-cm { color: #95a5a6 }
62
+ /* CommentSingle */ .highlight-chroma .highlight-c1 { color: #95a5a6 }
63
+ /* CommentSpecial */ .highlight-chroma .highlight-cs { color: #95a5a6 }
64
+ /* CommentPreproc */ .highlight-chroma .highlight-cp { color: #728e00 }
65
+ /* 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
+