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.
- package/CHANGELOG.md +45 -8
- package/README.md +49 -46
- package/dist/css/content-theme/ant-design.css +185 -1
- package/dist/css/content-theme/dark.css +98 -1
- package/dist/css/content-theme/light.css +76 -1
- package/dist/css/content-theme/wechat.css +69 -1
- package/dist/index.css +10 -8
- package/dist/index.d.ts +5 -1
- package/dist/index.min.js +15433 -8
- package/dist/js/.DS_Store +0 -0
- package/dist/js/highlight.js/highlight.pack.js +1617 -2
- package/dist/js/highlight.js/styles/abap.css +155 -1
- package/dist/js/highlight.js/styles/algol.css +142 -1
- package/dist/js/highlight.js/styles/algol_nu.css +90 -1
- package/dist/js/highlight.js/styles/ant-design.css +469 -1
- package/dist/js/highlight.js/styles/arduino.css +155 -1
- package/dist/js/highlight.js/styles/autumn.css +136 -1
- package/dist/js/highlight.js/styles/borland.css +146 -1
- package/dist/js/highlight.js/styles/bw.css +149 -1
- package/dist/js/highlight.js/styles/colorful.css +156 -1
- package/dist/js/highlight.js/styles/dracula.css +139 -1
- package/dist/js/highlight.js/styles/emacs.css +166 -1
- package/dist/js/highlight.js/styles/friendly.css +182 -1
- package/dist/js/highlight.js/styles/fruity.css +121 -1
- package/dist/js/highlight.js/styles/github.css +173 -1
- package/dist/js/highlight.js/styles/igor.css +122 -1
- package/dist/js/highlight.js/styles/lovelace.css +145 -1
- package/dist/js/highlight.js/styles/manni.css +138 -1
- package/dist/js/highlight.js/styles/monokai.css +131 -1
- package/dist/js/highlight.js/styles/monokailight.css +179 -1
- package/dist/js/highlight.js/styles/murphy.css +144 -1
- package/dist/js/highlight.js/styles/native.css +163 -1
- package/dist/js/highlight.js/styles/paraiso-dark.css +136 -1
- package/dist/js/highlight.js/styles/paraiso-light.css +135 -1
- package/dist/js/highlight.js/styles/pastie.css +180 -1
- package/dist/js/highlight.js/styles/perldoc.css +140 -1
- package/dist/js/highlight.js/styles/pygments.css +158 -1
- package/dist/js/highlight.js/styles/rainbow_dash.css +163 -1
- package/dist/js/highlight.js/styles/rrt.css +158 -1
- package/dist/js/highlight.js/styles/solarized-dark.css +145 -1
- package/dist/js/highlight.js/styles/solarized-dark256.css +145 -1
- package/dist/js/highlight.js/styles/solarized-light.css +162 -1
- package/dist/js/highlight.js/styles/swapoff.css +144 -1
- package/dist/js/highlight.js/styles/tango.css +183 -1
- package/dist/js/highlight.js/styles/trac.css +166 -1
- package/dist/js/highlight.js/styles/vim.css +143 -1
- package/dist/js/highlight.js/styles/vs.css +112 -1
- package/dist/js/highlight.js/styles/xcode.css +173 -1
- package/dist/js/i18n/en_US.js +85 -0
- package/dist/js/i18n/ja_JP.js +85 -0
- package/dist/js/i18n/ko_KR.js +85 -0
- package/dist/js/i18n/ru_RU.js +85 -0
- package/dist/js/i18n/zh_CN.js +85 -0
- package/dist/js/i18n/zh_TW.js +85 -0
- package/dist/js/katex/katex.min.css +1 -1
- package/dist/js/lute/lute.min.js +31 -28
- package/dist/js/mathjax/.DS_Store +0 -0
- package/dist/js/mathjax/input/tex/extensions/{colorv2.js → colorV2.js} +0 -0
- package/dist/js/mathjax/input/tex/extensions/{configmacros.js → configMacros.js} +0 -0
- package/dist/js/mathjax/input/tex/extensions/{tagformat.js → tagFormat.js} +0 -0
- package/dist/js/mathjax/tex-svg-full.js +1 -0
- package/dist/method.d.ts +6 -3
- package/dist/method.min.js +2334 -8
- package/dist/ts/markdown/adapterRender.d.ts +33 -0
- package/dist/ts/markdown/codeRender.d.ts +1 -2
- package/dist/ts/ui/initUI.d.ts +1 -0
- package/dist/ts/wysiwyg/index.d.ts +2 -0
- package/dist/types/index.d.ts +105 -8
- package/package.json +23 -24
- package/src/assets/.DS_Store +0 -0
- package/src/assets/scss/_content.scss +4 -0
- package/src/assets/scss/_reset.scss +11 -0
- package/src/index.ts +159 -99
- package/src/method.ts +6 -2
- package/src/ts/.DS_Store +0 -0
- package/src/ts/constants.ts +8 -4
- package/src/ts/export/index.ts +7 -5
- package/src/ts/hint/index.ts +20 -11
- package/src/ts/markdown/abcRender.ts +3 -2
- package/src/ts/markdown/adapterRender.ts +33 -0
- package/src/ts/markdown/chartRender.ts +3 -2
- package/src/ts/markdown/codeRender.ts +5 -6
- package/src/ts/markdown/flowchartRender.ts +3 -2
- package/src/ts/markdown/graphvizRender.ts +13 -11
- package/src/ts/markdown/highlightRender.ts +3 -3
- package/src/ts/markdown/mathRender.ts +6 -5
- package/src/ts/markdown/mermaidRender.ts +4 -2
- package/src/ts/markdown/mindmapRender.ts +3 -2
- package/src/ts/markdown/plantumlRender.ts +3 -2
- package/src/ts/markdown/previewRender.ts +26 -4
- package/src/ts/preview/image.ts +2 -4
- package/src/ts/preview/index.ts +2 -5
- package/src/ts/toolbar/EditMode.ts +3 -4
- package/src/ts/toolbar/Headings.ts +6 -6
- package/src/ts/toolbar/Info.ts +1 -1
- package/src/ts/toolbar/MenuItem.ts +1 -3
- package/src/ts/toolbar/Record.ts +3 -4
- package/src/ts/ui/initUI.ts +19 -5
- package/src/ts/undo/index.ts +5 -5
- package/src/ts/upload/index.ts +8 -8
- package/src/ts/util/Options.ts +255 -196
- package/src/ts/util/editorCommonEvent.ts +2 -2
- package/src/ts/util/fixBrowserBehavior.ts +10 -6
- package/src/ts/util/processCode.ts +1 -1
- package/src/ts/wysiwyg/highlightToolbarWYSIWYG.ts +298 -138
- package/src/ts/wysiwyg/index.ts +9 -4
- package/dist/js/mathjax/input/.DS_Store +0 -0
- package/dist/js/mathjax/tex-svg.js +0 -1
- package/dist/ts/i18n/index.d.ts +0 -2
- package/src/ts/i18n/index.ts +0 -318
|
@@ -1 +1,166 @@
|
|
|
1
|
-
|
|
1
|
+
/* Background */ .highlight-chroma { background-color: #ffffff }
|
|
2
|
+
/* Error */ .highlight-chroma .highlight-err { color: #a61717; background-color: #e3d2d2 }
|
|
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 { font-weight: bold }
|
|
9
|
+
/* KeywordConstant */ .highlight-chroma .highlight-kc { font-weight: bold }
|
|
10
|
+
/* KeywordDeclaration */ .highlight-chroma .highlight-kd { font-weight: bold }
|
|
11
|
+
/* KeywordNamespace */ .highlight-chroma .highlight-kn { font-weight: bold }
|
|
12
|
+
/* KeywordPseudo */ .highlight-chroma .highlight-kp { font-weight: bold }
|
|
13
|
+
/* KeywordReserved */ .highlight-chroma .highlight-kr { font-weight: bold }
|
|
14
|
+
/* KeywordType */ .highlight-chroma .highlight-kt { color: #445588; font-weight: bold }
|
|
15
|
+
/* NameAttribute */ .highlight-chroma .highlight-na { color: #008080 }
|
|
16
|
+
/* NameBuiltin */ .highlight-chroma .highlight-nb { color: #999999 }
|
|
17
|
+
/* NameClass */ .highlight-chroma .highlight-nc { color: #445588; font-weight: bold }
|
|
18
|
+
/* NameConstant */ .highlight-chroma .highlight-no { color: #008080 }
|
|
19
|
+
/* NameEntity */ .highlight-chroma .highlight-ni { color: #800080 }
|
|
20
|
+
/* NameException */ .highlight-chroma .highlight-ne { color: #990000; font-weight: bold }
|
|
21
|
+
/* NameFunction */ .highlight-chroma .highlight-nf { color: #990000; font-weight: bold }
|
|
22
|
+
/* NameNamespace */ .highlight-chroma .highlight-nn { color: #555555 }
|
|
23
|
+
/* NameTag */ .highlight-chroma .highlight-nt { color: #000080 }
|
|
24
|
+
/* NameVariable */ .highlight-chroma .highlight-nv { color: #008080 }
|
|
25
|
+
/* LiteralString */ .highlight-chroma .highlight-s { color: #bb8844 }
|
|
26
|
+
/* LiteralStringAffix */ .highlight-chroma .highlight-sa { color: #bb8844 }
|
|
27
|
+
/* LiteralStringBacktick */ .highlight-chroma .highlight-sb { color: #bb8844 }
|
|
28
|
+
/* LiteralStringChar */ .highlight-chroma .highlight-sc { color: #bb8844 }
|
|
29
|
+
/* LiteralStringDelimiter */ .highlight-chroma .highlight-dl { color: #bb8844 }
|
|
30
|
+
/* LiteralStringDoc */ .highlight-chroma .highlight-sd { color: #bb8844 }
|
|
31
|
+
/* LiteralStringDouble */ .highlight-chroma .highlight-s2 { color: #bb8844 }
|
|
32
|
+
/* LiteralStringEscape */ .highlight-chroma .highlight-se { color: #bb8844 }
|
|
33
|
+
/* LiteralStringHeredoc */ .highlight-chroma .highlight-sh { color: #bb8844 }
|
|
34
|
+
/* LiteralStringInterpol */ .highlight-chroma .highlight-si { color: #bb8844 }
|
|
35
|
+
/* LiteralStringOther */ .highlight-chroma .highlight-sx { color: #bb8844 }
|
|
36
|
+
/* LiteralStringRegex */ .highlight-chroma .highlight-sr { color: #808000 }
|
|
37
|
+
/* LiteralStringSingle */ .highlight-chroma .highlight-s1 { color: #bb8844 }
|
|
38
|
+
/* LiteralStringSymbol */ .highlight-chroma .highlight-ss { color: #bb8844 }
|
|
39
|
+
/* LiteralNumber */ .highlight-chroma .highlight-m { color: #009999 }
|
|
40
|
+
/* LiteralNumberBin */ .highlight-chroma .highlight-mb { color: #009999 }
|
|
41
|
+
/* LiteralNumberFloat */ .highlight-chroma .highlight-mf { color: #009999 }
|
|
42
|
+
/* LiteralNumberHex */ .highlight-chroma .highlight-mh { color: #009999 }
|
|
43
|
+
/* LiteralNumberInteger */ .highlight-chroma .highlight-mi { color: #009999 }
|
|
44
|
+
/* LiteralNumberIntegerLong */ .highlight-chroma .highlight-il { color: #009999 }
|
|
45
|
+
/* LiteralNumberOct */ .highlight-chroma .highlight-mo { color: #009999 }
|
|
46
|
+
/* Operator */ .highlight-chroma .highlight-o { font-weight: bold }
|
|
47
|
+
/* OperatorWord */ .highlight-chroma .highlight-ow { font-weight: bold }
|
|
48
|
+
/* Comment */ .highlight-chroma .highlight-c { color: #999988; font-style: italic }
|
|
49
|
+
/* CommentHashbang */ .highlight-chroma .highlight-ch { color: #999988; font-style: italic }
|
|
50
|
+
/* CommentMultiline */ .highlight-chroma .highlight-cm { color: #999988; font-style: italic }
|
|
51
|
+
/* CommentSingle */ .highlight-chroma .highlight-c1 { color: #999988; font-style: italic }
|
|
52
|
+
/* CommentSpecial */ .highlight-chroma .highlight-cs { color: #999999; font-weight: bold; font-style: italic }
|
|
53
|
+
/* CommentPreproc */ .highlight-chroma .highlight-cp { color: #999999; font-weight: bold }
|
|
54
|
+
/* CommentPreprocFile */ .highlight-chroma .highlight-cpf { color: #999999; font-weight: bold }
|
|
55
|
+
/* GenericDeleted */ .highlight-chroma .highlight-gd { color: #000000; background-color: #ffdddd }
|
|
56
|
+
/* GenericEmph */ .highlight-chroma .highlight-ge { font-style: italic }
|
|
57
|
+
/* GenericError */ .highlight-chroma .highlight-gr { color: #aa0000 }
|
|
58
|
+
/* GenericHeading */ .highlight-chroma .highlight-gh { color: #999999 }
|
|
59
|
+
/* GenericInserted */ .highlight-chroma .highlight-gi { color: #000000; background-color: #ddffdd }
|
|
60
|
+
/* GenericOutput */ .highlight-chroma .highlight-go { color: #888888 }
|
|
61
|
+
/* GenericPrompt */ .highlight-chroma .highlight-gp { color: #555555 }
|
|
62
|
+
/* GenericStrong */ .highlight-chroma .highlight-gs { font-weight: bold }
|
|
63
|
+
/* GenericSubheading */ .highlight-chroma .highlight-gu { color: #aaaaaa }
|
|
64
|
+
/* GenericTraceback */ .highlight-chroma .highlight-gt { color: #aa0000 }
|
|
65
|
+
/* GenericUnderline */ .highlight-chroma .highlight-gl { text-decoration: underline }
|
|
66
|
+
/* TextWhitespace */ .highlight-chroma .highlight-w { color: #bbbbbb }
|
|
67
|
+
|
|
68
|
+
/*
|
|
69
|
+
|
|
70
|
+
Original highlight.js style (c) Ivan Sagalaev <maniac@softwaremaniacs.org>
|
|
71
|
+
|
|
72
|
+
*/
|
|
73
|
+
|
|
74
|
+
.hljs {
|
|
75
|
+
display: block;
|
|
76
|
+
overflow-x: auto;
|
|
77
|
+
padding: 0.5em;
|
|
78
|
+
background: #F0F0F0;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
/* Base color: saturation 0; */
|
|
83
|
+
|
|
84
|
+
.hljs,
|
|
85
|
+
.hljs-subst {
|
|
86
|
+
color: #444;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.hljs-comment {
|
|
90
|
+
color: #888888;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.hljs-keyword,
|
|
94
|
+
.hljs-attribute,
|
|
95
|
+
.hljs-selector-tag,
|
|
96
|
+
.hljs-meta-keyword,
|
|
97
|
+
.hljs-doctag,
|
|
98
|
+
.hljs-name {
|
|
99
|
+
font-weight: bold;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
/* User color: hue: 0 */
|
|
104
|
+
|
|
105
|
+
.hljs-type,
|
|
106
|
+
.hljs-string,
|
|
107
|
+
.hljs-number,
|
|
108
|
+
.hljs-selector-id,
|
|
109
|
+
.hljs-selector-class,
|
|
110
|
+
.hljs-quote,
|
|
111
|
+
.hljs-template-tag,
|
|
112
|
+
.hljs-deletion {
|
|
113
|
+
color: #880000;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.hljs-title,
|
|
117
|
+
.hljs-section {
|
|
118
|
+
color: #880000;
|
|
119
|
+
font-weight: bold;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.hljs-regexp,
|
|
123
|
+
.hljs-symbol,
|
|
124
|
+
.hljs-variable,
|
|
125
|
+
.hljs-template-variable,
|
|
126
|
+
.hljs-link,
|
|
127
|
+
.hljs-selector-attr,
|
|
128
|
+
.hljs-selector-pseudo {
|
|
129
|
+
color: #BC6060;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
/* Language color: hue: 90; */
|
|
134
|
+
|
|
135
|
+
.hljs-literal {
|
|
136
|
+
color: #78A960;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.hljs-built_in,
|
|
140
|
+
.hljs-bullet,
|
|
141
|
+
.hljs-code,
|
|
142
|
+
.hljs-addition {
|
|
143
|
+
color: #397300;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
/* Meta color: hue: 200 */
|
|
148
|
+
|
|
149
|
+
.hljs-meta {
|
|
150
|
+
color: #1f7199;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.hljs-meta-string {
|
|
154
|
+
color: #4d99bf;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
/* Misc effects */
|
|
159
|
+
|
|
160
|
+
.hljs-emphasis {
|
|
161
|
+
font-style: italic;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.hljs-strong {
|
|
165
|
+
font-weight: bold;
|
|
166
|
+
}
|
|
@@ -1 +1,143 @@
|
|
|
1
|
-
|
|
1
|
+
/* Background */ .highlight-chroma { color: #cccccc; background-color: #000000 }
|
|
2
|
+
/* Error */ .highlight-chroma .highlight-err { }
|
|
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: #191919 }
|
|
6
|
+
/* LineNumbersTable */ .highlight-chroma .highlight-lnt { margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #666666 }
|
|
7
|
+
/* LineNumbers */ .highlight-chroma .highlight-ln { margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #666666 }
|
|
8
|
+
/* Keyword */ .highlight-chroma .highlight-k { color: #cdcd00 }
|
|
9
|
+
/* KeywordConstant */ .highlight-chroma .highlight-kc { color: #cdcd00 }
|
|
10
|
+
/* KeywordDeclaration */ .highlight-chroma .highlight-kd { color: #00cd00 }
|
|
11
|
+
/* KeywordNamespace */ .highlight-chroma .highlight-kn { color: #cd00cd }
|
|
12
|
+
/* KeywordPseudo */ .highlight-chroma .highlight-kp { color: #cdcd00 }
|
|
13
|
+
/* KeywordReserved */ .highlight-chroma .highlight-kr { color: #cdcd00 }
|
|
14
|
+
/* KeywordType */ .highlight-chroma .highlight-kt { color: #00cd00 }
|
|
15
|
+
/* NameBuiltin */ .highlight-chroma .highlight-nb { color: #cd00cd }
|
|
16
|
+
/* NameClass */ .highlight-chroma .highlight-nc { color: #00cdcd }
|
|
17
|
+
/* NameException */ .highlight-chroma .highlight-ne { color: #666699; font-weight: bold }
|
|
18
|
+
/* NameVariable */ .highlight-chroma .highlight-nv { color: #00cdcd }
|
|
19
|
+
/* LiteralString */ .highlight-chroma .highlight-s { color: #cd0000 }
|
|
20
|
+
/* LiteralStringAffix */ .highlight-chroma .highlight-sa { color: #cd0000 }
|
|
21
|
+
/* LiteralStringBacktick */ .highlight-chroma .highlight-sb { color: #cd0000 }
|
|
22
|
+
/* LiteralStringChar */ .highlight-chroma .highlight-sc { color: #cd0000 }
|
|
23
|
+
/* LiteralStringDelimiter */ .highlight-chroma .highlight-dl { color: #cd0000 }
|
|
24
|
+
/* LiteralStringDoc */ .highlight-chroma .highlight-sd { color: #cd0000 }
|
|
25
|
+
/* LiteralStringDouble */ .highlight-chroma .highlight-s2 { color: #cd0000 }
|
|
26
|
+
/* LiteralStringEscape */ .highlight-chroma .highlight-se { color: #cd0000 }
|
|
27
|
+
/* LiteralStringHeredoc */ .highlight-chroma .highlight-sh { color: #cd0000 }
|
|
28
|
+
/* LiteralStringInterpol */ .highlight-chroma .highlight-si { color: #cd0000 }
|
|
29
|
+
/* LiteralStringOther */ .highlight-chroma .highlight-sx { color: #cd0000 }
|
|
30
|
+
/* LiteralStringRegex */ .highlight-chroma .highlight-sr { color: #cd0000 }
|
|
31
|
+
/* LiteralStringSingle */ .highlight-chroma .highlight-s1 { color: #cd0000 }
|
|
32
|
+
/* LiteralStringSymbol */ .highlight-chroma .highlight-ss { color: #cd0000 }
|
|
33
|
+
/* LiteralNumber */ .highlight-chroma .highlight-m { color: #cd00cd }
|
|
34
|
+
/* LiteralNumberBin */ .highlight-chroma .highlight-mb { color: #cd00cd }
|
|
35
|
+
/* LiteralNumberFloat */ .highlight-chroma .highlight-mf { color: #cd00cd }
|
|
36
|
+
/* LiteralNumberHex */ .highlight-chroma .highlight-mh { color: #cd00cd }
|
|
37
|
+
/* LiteralNumberInteger */ .highlight-chroma .highlight-mi { color: #cd00cd }
|
|
38
|
+
/* LiteralNumberIntegerLong */ .highlight-chroma .highlight-il { color: #cd00cd }
|
|
39
|
+
/* LiteralNumberOct */ .highlight-chroma .highlight-mo { color: #cd00cd }
|
|
40
|
+
/* Operator */ .highlight-chroma .highlight-o { color: #3399cc }
|
|
41
|
+
/* OperatorWord */ .highlight-chroma .highlight-ow { color: #cdcd00 }
|
|
42
|
+
/* Comment */ .highlight-chroma .highlight-c { color: #000080 }
|
|
43
|
+
/* CommentHashbang */ .highlight-chroma .highlight-ch { color: #000080 }
|
|
44
|
+
/* CommentMultiline */ .highlight-chroma .highlight-cm { color: #000080 }
|
|
45
|
+
/* CommentSingle */ .highlight-chroma .highlight-c1 { color: #000080 }
|
|
46
|
+
/* CommentSpecial */ .highlight-chroma .highlight-cs { color: #cd0000; font-weight: bold }
|
|
47
|
+
/* CommentPreproc */ .highlight-chroma .highlight-cp { color: #000080 }
|
|
48
|
+
/* CommentPreprocFile */ .highlight-chroma .highlight-cpf { color: #000080 }
|
|
49
|
+
/* GenericDeleted */ .highlight-chroma .highlight-gd { color: #cd0000 }
|
|
50
|
+
/* GenericEmph */ .highlight-chroma .highlight-ge { font-style: italic }
|
|
51
|
+
/* GenericError */ .highlight-chroma .highlight-gr { color: #ff0000 }
|
|
52
|
+
/* GenericHeading */ .highlight-chroma .highlight-gh { color: #000080; font-weight: bold }
|
|
53
|
+
/* GenericInserted */ .highlight-chroma .highlight-gi { color: #00cd00 }
|
|
54
|
+
/* GenericOutput */ .highlight-chroma .highlight-go { color: #888888 }
|
|
55
|
+
/* GenericPrompt */ .highlight-chroma .highlight-gp { color: #000080; font-weight: bold }
|
|
56
|
+
/* GenericStrong */ .highlight-chroma .highlight-gs { font-weight: bold }
|
|
57
|
+
/* GenericSubheading */ .highlight-chroma .highlight-gu { color: #800080; font-weight: bold }
|
|
58
|
+
/* GenericTraceback */ .highlight-chroma .highlight-gt { color: #0044dd }
|
|
59
|
+
/* GenericUnderline */ .highlight-chroma .highlight-gl { text-decoration: underline }
|
|
60
|
+
|
|
61
|
+
/*
|
|
62
|
+
|
|
63
|
+
Qt Creator dark color scheme
|
|
64
|
+
|
|
65
|
+
*/
|
|
66
|
+
|
|
67
|
+
.hljs {
|
|
68
|
+
display: block;
|
|
69
|
+
overflow-x: auto;
|
|
70
|
+
padding: 0.5em;
|
|
71
|
+
background: #000000;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.hljs,
|
|
75
|
+
.hljs-subst,
|
|
76
|
+
.hljs-tag,
|
|
77
|
+
.hljs-title {
|
|
78
|
+
color: #aaaaaa;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.hljs-strong,
|
|
82
|
+
.hljs-emphasis {
|
|
83
|
+
color: #a8a8a2;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.hljs-bullet,
|
|
87
|
+
.hljs-quote,
|
|
88
|
+
.hljs-number,
|
|
89
|
+
.hljs-regexp,
|
|
90
|
+
.hljs-literal {
|
|
91
|
+
color: #ff55ff;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.hljs-code
|
|
95
|
+
.hljs-selector-class {
|
|
96
|
+
color: #aaaaff;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.hljs-emphasis,
|
|
100
|
+
.hljs-stronge,
|
|
101
|
+
.hljs-type {
|
|
102
|
+
font-style: italic;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.hljs-keyword,
|
|
106
|
+
.hljs-selector-tag,
|
|
107
|
+
.hljs-function,
|
|
108
|
+
.hljs-section,
|
|
109
|
+
.hljs-symbol,
|
|
110
|
+
.hljs-name {
|
|
111
|
+
color: #ffff55;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.hljs-attribute {
|
|
115
|
+
color: #ff5555;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.hljs-variable,
|
|
119
|
+
.hljs-params,
|
|
120
|
+
.hljs-class .hljs-title {
|
|
121
|
+
color: #8888ff;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.hljs-string,
|
|
125
|
+
.hljs-selector-id,
|
|
126
|
+
.hljs-selector-attr,
|
|
127
|
+
.hljs-selector-pseudo,
|
|
128
|
+
.hljs-type,
|
|
129
|
+
.hljs-built_in,
|
|
130
|
+
.hljs-builtin-name,
|
|
131
|
+
.hljs-template-tag,
|
|
132
|
+
.hljs-template-variable,
|
|
133
|
+
.hljs-addition,
|
|
134
|
+
.hljs-link {
|
|
135
|
+
color: #ff55ff;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.hljs-comment,
|
|
139
|
+
.hljs-meta,
|
|
140
|
+
.hljs-deletion {
|
|
141
|
+
color: #55ffff;
|
|
142
|
+
}
|
|
143
|
+
|
|
@@ -1 +1,112 @@
|
|
|
1
|
-
|
|
1
|
+
/* Background */ .highlight-chroma { background-color: #ffffff }
|
|
2
|
+
/* Error */ .highlight-chroma .highlight-err { }
|
|
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: #0000ff }
|
|
9
|
+
/* KeywordConstant */ .highlight-chroma .highlight-kc { color: #0000ff }
|
|
10
|
+
/* KeywordDeclaration */ .highlight-chroma .highlight-kd { color: #0000ff }
|
|
11
|
+
/* KeywordNamespace */ .highlight-chroma .highlight-kn { color: #0000ff }
|
|
12
|
+
/* KeywordPseudo */ .highlight-chroma .highlight-kp { color: #0000ff }
|
|
13
|
+
/* KeywordReserved */ .highlight-chroma .highlight-kr { color: #0000ff }
|
|
14
|
+
/* KeywordType */ .highlight-chroma .highlight-kt { color: #2b91af }
|
|
15
|
+
/* NameClass */ .highlight-chroma .highlight-nc { color: #2b91af }
|
|
16
|
+
/* LiteralString */ .highlight-chroma .highlight-s { color: #a31515 }
|
|
17
|
+
/* LiteralStringAffix */ .highlight-chroma .highlight-sa { color: #a31515 }
|
|
18
|
+
/* LiteralStringBacktick */ .highlight-chroma .highlight-sb { color: #a31515 }
|
|
19
|
+
/* LiteralStringChar */ .highlight-chroma .highlight-sc { color: #a31515 }
|
|
20
|
+
/* LiteralStringDelimiter */ .highlight-chroma .highlight-dl { color: #a31515 }
|
|
21
|
+
/* LiteralStringDoc */ .highlight-chroma .highlight-sd { color: #a31515 }
|
|
22
|
+
/* LiteralStringDouble */ .highlight-chroma .highlight-s2 { color: #a31515 }
|
|
23
|
+
/* LiteralStringEscape */ .highlight-chroma .highlight-se { color: #a31515 }
|
|
24
|
+
/* LiteralStringHeredoc */ .highlight-chroma .highlight-sh { color: #a31515 }
|
|
25
|
+
/* LiteralStringInterpol */ .highlight-chroma .highlight-si { color: #a31515 }
|
|
26
|
+
/* LiteralStringOther */ .highlight-chroma .highlight-sx { color: #a31515 }
|
|
27
|
+
/* LiteralStringRegex */ .highlight-chroma .highlight-sr { color: #a31515 }
|
|
28
|
+
/* LiteralStringSingle */ .highlight-chroma .highlight-s1 { color: #a31515 }
|
|
29
|
+
/* LiteralStringSymbol */ .highlight-chroma .highlight-ss { color: #a31515 }
|
|
30
|
+
/* OperatorWord */ .highlight-chroma .highlight-ow { color: #0000ff }
|
|
31
|
+
/* Comment */ .highlight-chroma .highlight-c { color: #008000 }
|
|
32
|
+
/* CommentHashbang */ .highlight-chroma .highlight-ch { color: #008000 }
|
|
33
|
+
/* CommentMultiline */ .highlight-chroma .highlight-cm { color: #008000 }
|
|
34
|
+
/* CommentSingle */ .highlight-chroma .highlight-c1 { color: #008000 }
|
|
35
|
+
/* CommentSpecial */ .highlight-chroma .highlight-cs { color: #008000 }
|
|
36
|
+
/* CommentPreproc */ .highlight-chroma .highlight-cp { color: #0000ff }
|
|
37
|
+
/* CommentPreprocFile */ .highlight-chroma .highlight-cpf { color: #0000ff }
|
|
38
|
+
/* GenericEmph */ .highlight-chroma .highlight-ge { font-style: italic }
|
|
39
|
+
/* GenericHeading */ .highlight-chroma .highlight-gh { font-weight: bold }
|
|
40
|
+
/* GenericPrompt */ .highlight-chroma .highlight-gp { font-weight: bold }
|
|
41
|
+
/* GenericStrong */ .highlight-chroma .highlight-gs { font-weight: bold }
|
|
42
|
+
/* GenericSubheading */ .highlight-chroma .highlight-gu { font-weight: bold }
|
|
43
|
+
|
|
44
|
+
/*
|
|
45
|
+
|
|
46
|
+
Visual Studio-like style based on original C# coloring by Jason Diamond <jason@diamond.name>
|
|
47
|
+
|
|
48
|
+
*/
|
|
49
|
+
.hljs {
|
|
50
|
+
display: block;
|
|
51
|
+
overflow-x: auto;
|
|
52
|
+
padding: 0.5em;
|
|
53
|
+
background: white;
|
|
54
|
+
color: black;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.hljs-comment,
|
|
58
|
+
.hljs-quote,
|
|
59
|
+
.hljs-variable {
|
|
60
|
+
color: #008000;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.hljs-keyword,
|
|
64
|
+
.hljs-selector-tag,
|
|
65
|
+
.hljs-built_in,
|
|
66
|
+
.hljs-name,
|
|
67
|
+
.hljs-tag {
|
|
68
|
+
color: #00f;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.hljs-string,
|
|
72
|
+
.hljs-title,
|
|
73
|
+
.hljs-section,
|
|
74
|
+
.hljs-attribute,
|
|
75
|
+
.hljs-literal,
|
|
76
|
+
.hljs-template-tag,
|
|
77
|
+
.hljs-template-variable,
|
|
78
|
+
.hljs-type,
|
|
79
|
+
.hljs-addition {
|
|
80
|
+
color: #a31515;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.hljs-deletion,
|
|
84
|
+
.hljs-selector-attr,
|
|
85
|
+
.hljs-selector-pseudo,
|
|
86
|
+
.hljs-meta {
|
|
87
|
+
color: #2b91af;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.hljs-doctag {
|
|
91
|
+
color: #808080;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.hljs-attr {
|
|
95
|
+
color: #f00;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.hljs-symbol,
|
|
99
|
+
.hljs-bullet,
|
|
100
|
+
.hljs-link {
|
|
101
|
+
color: #00b0e8;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
.hljs-emphasis {
|
|
106
|
+
font-style: italic;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.hljs-strong {
|
|
110
|
+
font-weight: bold;
|
|
111
|
+
}
|
|
112
|
+
|
|
@@ -1 +1,173 @@
|
|
|
1
|
-
|
|
1
|
+
/* Background */ .highlight-chroma { background-color: #ffffff }
|
|
2
|
+
/* Error */ .highlight-chroma .highlight-err { color: #000000 }
|
|
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: #a90d91 }
|
|
9
|
+
/* KeywordConstant */ .highlight-chroma .highlight-kc { color: #a90d91 }
|
|
10
|
+
/* KeywordDeclaration */ .highlight-chroma .highlight-kd { color: #a90d91 }
|
|
11
|
+
/* KeywordNamespace */ .highlight-chroma .highlight-kn { color: #a90d91 }
|
|
12
|
+
/* KeywordPseudo */ .highlight-chroma .highlight-kp { color: #a90d91 }
|
|
13
|
+
/* KeywordReserved */ .highlight-chroma .highlight-kr { color: #a90d91 }
|
|
14
|
+
/* KeywordType */ .highlight-chroma .highlight-kt { color: #a90d91 }
|
|
15
|
+
/* Name */ .highlight-chroma .highlight-n { color: #000000 }
|
|
16
|
+
/* NameAttribute */ .highlight-chroma .highlight-na { color: #836c28 }
|
|
17
|
+
/* NameBuiltin */ .highlight-chroma .highlight-nb { color: #a90d91 }
|
|
18
|
+
/* NameBuiltinPseudo */ .highlight-chroma .highlight-bp { color: #5b269a }
|
|
19
|
+
/* NameClass */ .highlight-chroma .highlight-nc { color: #3f6e75 }
|
|
20
|
+
/* NameConstant */ .highlight-chroma .highlight-no { color: #000000 }
|
|
21
|
+
/* NameDecorator */ .highlight-chroma .highlight-nd { color: #000000 }
|
|
22
|
+
/* NameEntity */ .highlight-chroma .highlight-ni { color: #000000 }
|
|
23
|
+
/* NameException */ .highlight-chroma .highlight-ne { color: #000000 }
|
|
24
|
+
/* NameFunction */ .highlight-chroma .highlight-nf { color: #000000 }
|
|
25
|
+
/* NameFunctionMagic */ .highlight-chroma .highlight-fm { color: #000000 }
|
|
26
|
+
/* NameLabel */ .highlight-chroma .highlight-nl { color: #000000 }
|
|
27
|
+
/* NameNamespace */ .highlight-chroma .highlight-nn { color: #000000 }
|
|
28
|
+
/* NameOther */ .highlight-chroma .highlight-nx { color: #000000 }
|
|
29
|
+
/* NameProperty */ .highlight-chroma .highlight-py { color: #000000 }
|
|
30
|
+
/* NameTag */ .highlight-chroma .highlight-nt { color: #000000 }
|
|
31
|
+
/* NameVariable */ .highlight-chroma .highlight-nv { color: #000000 }
|
|
32
|
+
/* NameVariableClass */ .highlight-chroma .highlight-vc { color: #000000 }
|
|
33
|
+
/* NameVariableGlobal */ .highlight-chroma .highlight-vg { color: #000000 }
|
|
34
|
+
/* NameVariableInstance */ .highlight-chroma .highlight-vi { color: #000000 }
|
|
35
|
+
/* NameVariableMagic */ .highlight-chroma .highlight-vm { color: #000000 }
|
|
36
|
+
/* Literal */ .highlight-chroma .highlight-l { color: #1c01ce }
|
|
37
|
+
/* LiteralDate */ .highlight-chroma .highlight-ld { color: #1c01ce }
|
|
38
|
+
/* LiteralString */ .highlight-chroma .highlight-s { color: #c41a16 }
|
|
39
|
+
/* LiteralStringAffix */ .highlight-chroma .highlight-sa { color: #c41a16 }
|
|
40
|
+
/* LiteralStringBacktick */ .highlight-chroma .highlight-sb { color: #c41a16 }
|
|
41
|
+
/* LiteralStringChar */ .highlight-chroma .highlight-sc { color: #2300ce }
|
|
42
|
+
/* LiteralStringDelimiter */ .highlight-chroma .highlight-dl { color: #c41a16 }
|
|
43
|
+
/* LiteralStringDoc */ .highlight-chroma .highlight-sd { color: #c41a16 }
|
|
44
|
+
/* LiteralStringDouble */ .highlight-chroma .highlight-s2 { color: #c41a16 }
|
|
45
|
+
/* LiteralStringEscape */ .highlight-chroma .highlight-se { color: #c41a16 }
|
|
46
|
+
/* LiteralStringHeredoc */ .highlight-chroma .highlight-sh { color: #c41a16 }
|
|
47
|
+
/* LiteralStringInterpol */ .highlight-chroma .highlight-si { color: #c41a16 }
|
|
48
|
+
/* LiteralStringOther */ .highlight-chroma .highlight-sx { color: #c41a16 }
|
|
49
|
+
/* LiteralStringRegex */ .highlight-chroma .highlight-sr { color: #c41a16 }
|
|
50
|
+
/* LiteralStringSingle */ .highlight-chroma .highlight-s1 { color: #c41a16 }
|
|
51
|
+
/* LiteralStringSymbol */ .highlight-chroma .highlight-ss { color: #c41a16 }
|
|
52
|
+
/* LiteralNumber */ .highlight-chroma .highlight-m { color: #1c01ce }
|
|
53
|
+
/* LiteralNumberBin */ .highlight-chroma .highlight-mb { color: #1c01ce }
|
|
54
|
+
/* LiteralNumberFloat */ .highlight-chroma .highlight-mf { color: #1c01ce }
|
|
55
|
+
/* LiteralNumberHex */ .highlight-chroma .highlight-mh { color: #1c01ce }
|
|
56
|
+
/* LiteralNumberInteger */ .highlight-chroma .highlight-mi { color: #1c01ce }
|
|
57
|
+
/* LiteralNumberIntegerLong */ .highlight-chroma .highlight-il { color: #1c01ce }
|
|
58
|
+
/* LiteralNumberOct */ .highlight-chroma .highlight-mo { color: #1c01ce }
|
|
59
|
+
/* Operator */ .highlight-chroma .highlight-o { color: #000000 }
|
|
60
|
+
/* OperatorWord */ .highlight-chroma .highlight-ow { color: #000000 }
|
|
61
|
+
/* Comment */ .highlight-chroma .highlight-c { color: #177500 }
|
|
62
|
+
/* CommentHashbang */ .highlight-chroma .highlight-ch { color: #177500 }
|
|
63
|
+
/* CommentMultiline */ .highlight-chroma .highlight-cm { color: #177500 }
|
|
64
|
+
/* CommentSingle */ .highlight-chroma .highlight-c1 { color: #177500 }
|
|
65
|
+
/* CommentSpecial */ .highlight-chroma .highlight-cs { color: #177500 }
|
|
66
|
+
/* CommentPreproc */ .highlight-chroma .highlight-cp { color: #633820 }
|
|
67
|
+
/* CommentPreprocFile */ .highlight-chroma .highlight-cpf { color: #633820 }
|
|
68
|
+
|
|
69
|
+
/*
|
|
70
|
+
|
|
71
|
+
XCode style (c) Angel Garcia <angelgarcia.mail@gmail.com>
|
|
72
|
+
|
|
73
|
+
*/
|
|
74
|
+
|
|
75
|
+
.hljs {
|
|
76
|
+
display: block;
|
|
77
|
+
overflow-x: auto;
|
|
78
|
+
padding: 0.5em;
|
|
79
|
+
background: #fff;
|
|
80
|
+
color: black;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
/* Gray DOCTYPE selectors like WebKit */
|
|
84
|
+
.xml .hljs-meta {
|
|
85
|
+
color: #c0c0c0;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.hljs-comment,
|
|
89
|
+
.hljs-quote {
|
|
90
|
+
color: #007400;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.hljs-tag,
|
|
94
|
+
.hljs-attribute,
|
|
95
|
+
.hljs-keyword,
|
|
96
|
+
.hljs-selector-tag,
|
|
97
|
+
.hljs-literal,
|
|
98
|
+
.hljs-name {
|
|
99
|
+
color: #aa0d91;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.hljs-variable,
|
|
103
|
+
.hljs-template-variable {
|
|
104
|
+
color: #3F6E74;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.hljs-code,
|
|
108
|
+
.hljs-string,
|
|
109
|
+
.hljs-meta-string {
|
|
110
|
+
color: #c41a16;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.hljs-regexp,
|
|
114
|
+
.hljs-link {
|
|
115
|
+
color: #0E0EFF;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.hljs-title,
|
|
119
|
+
.hljs-symbol,
|
|
120
|
+
.hljs-bullet,
|
|
121
|
+
.hljs-number {
|
|
122
|
+
color: #1c00cf;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.hljs-section,
|
|
126
|
+
.hljs-meta {
|
|
127
|
+
color: #643820;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
.hljs-class .hljs-title,
|
|
132
|
+
.hljs-type,
|
|
133
|
+
.hljs-built_in,
|
|
134
|
+
.hljs-builtin-name,
|
|
135
|
+
.hljs-params {
|
|
136
|
+
color: #5c2699;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.hljs-attr {
|
|
140
|
+
color: #836C28;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.hljs-subst {
|
|
144
|
+
color: #000;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.hljs-formula {
|
|
148
|
+
background-color: #eee;
|
|
149
|
+
font-style: italic;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.hljs-addition {
|
|
153
|
+
background-color: #baeeba;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.hljs-deletion {
|
|
157
|
+
background-color: #ffc8bd;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.hljs-selector-id,
|
|
161
|
+
.hljs-selector-class {
|
|
162
|
+
color: #9b703f;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.hljs-doctag,
|
|
166
|
+
.hljs-strong {
|
|
167
|
+
font-weight: bold;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.hljs-emphasis {
|
|
171
|
+
font-style: italic;
|
|
172
|
+
}
|
|
173
|
+
|