@wenyan-md/core 1.0.0
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/LICENSE +201 -0
- package/README.md +3 -0
- package/dist/atom-one-dark.min-hABhDLRj.js +5 -0
- package/dist/atom-one-dark.min-hABhDLRj.js.map +1 -0
- package/dist/atom-one-light.min-CwiVhPEv.js +5 -0
- package/dist/atom-one-light.min-CwiVhPEv.js.map +1 -0
- package/dist/core.js +428 -0
- package/dist/core.js.map +1 -0
- package/dist/default-D-dyLptq.js +185 -0
- package/dist/default-D-dyLptq.js.map +1 -0
- package/dist/dracula.min-OeyC4Nkp.js +12 -0
- package/dist/dracula.min-OeyC4Nkp.js.map +1 -0
- package/dist/github-dark.min-DOlD5Ewr.js +14 -0
- package/dist/github-dark.min-DOlD5Ewr.js.map +1 -0
- package/dist/github.min-BZ2GvPsn.js +15 -0
- package/dist/github.min-BZ2GvPsn.js.map +1 -0
- package/dist/lapis-dRySN5pK.js +195 -0
- package/dist/lapis-dRySN5pK.js.map +1 -0
- package/dist/maize-DFW0x6O3.js +195 -0
- package/dist/maize-DFW0x6O3.js.map +1 -0
- package/dist/monokai.min-CH2iHqHz.js +5 -0
- package/dist/monokai.min-CH2iHqHz.js.map +1 -0
- package/dist/orangeheart-Da7uQj8U.js +185 -0
- package/dist/orangeheart-Da7uQj8U.js.map +1 -0
- package/dist/phycat-BGGT9oBk.js +336 -0
- package/dist/phycat-BGGT9oBk.js.map +1 -0
- package/dist/pie-DUYodGli.js +241 -0
- package/dist/pie-DUYodGli.js.map +1 -0
- package/dist/publish.js +360 -0
- package/dist/publish.js.map +1 -0
- package/dist/purple-Da1-Vfos.js +184 -0
- package/dist/purple-Da1-Vfos.js.map +1 -0
- package/dist/rainbow-BtrbZco6.js +168 -0
- package/dist/rainbow-BtrbZco6.js.map +1 -0
- package/dist/solarized-dark.min-BxbYljx4.js +12 -0
- package/dist/solarized-dark.min-BxbYljx4.js.map +1 -0
- package/dist/solarized-light.min-Bb25xgOC.js +12 -0
- package/dist/solarized-light.min-Bb25xgOC.js.map +1 -0
- package/dist/types/hltheme.d.ts +6 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/publish.d.ts +1 -0
- package/dist/types/theme.d.ts +8 -0
- package/dist/xcode.min-CG-lWQgl.js +5 -0
- package/dist/xcode.min-CG-lWQgl.js.map +1 -0
- package/package.json +44 -0
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
const n = `/*
|
|
2
|
+
* Typora Theme - Rainbow / Author - thezbm
|
|
3
|
+
* https://github.com/thezbm/typora-theme-rainbow
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
:root {
|
|
7
|
+
--h-border-color: rgb(255, 191, 191);
|
|
8
|
+
--h-bg-color: rgb(255, 232, 232);
|
|
9
|
+
--table-border-color: rgb(255, 235, 211);
|
|
10
|
+
--th-bg-color: rgb(255, 243, 228);
|
|
11
|
+
--tr-bg-color: rgb(255, 249, 242);
|
|
12
|
+
--code-bg-color: rgb(247, 247, 247);
|
|
13
|
+
--block-shadow: 0.15em 0.15em 0.5em rgb(150, 150, 150);
|
|
14
|
+
}
|
|
15
|
+
#wenyan {
|
|
16
|
+
font-family: var(--sans-serif-font);
|
|
17
|
+
line-height: 1.75;
|
|
18
|
+
font-size: 16px;
|
|
19
|
+
}
|
|
20
|
+
#wenyan p,
|
|
21
|
+
#wenyan pre {
|
|
22
|
+
margin: 1em 0.8em;
|
|
23
|
+
}
|
|
24
|
+
#wenyan h1,
|
|
25
|
+
#wenyan h2,
|
|
26
|
+
#wenyan h3,
|
|
27
|
+
#wenyan h4,
|
|
28
|
+
#wenyan h5,
|
|
29
|
+
#wenyan h6 {
|
|
30
|
+
margin: 1.2em 0 1em;
|
|
31
|
+
padding: 0px;
|
|
32
|
+
font-weight: bold;
|
|
33
|
+
}
|
|
34
|
+
#wenyan h1 {
|
|
35
|
+
font-size: 1.5em;
|
|
36
|
+
text-align: center;
|
|
37
|
+
text-shadow: 0.15em 0.15em 0.3em rgb(187, 187, 187);
|
|
38
|
+
}
|
|
39
|
+
#wenyan h2 {
|
|
40
|
+
font-size: 1.3em;
|
|
41
|
+
background-color: var(--h-bg-color);
|
|
42
|
+
padding-left: 1em;
|
|
43
|
+
padding-right: 1em;
|
|
44
|
+
border-left: 0.5em solid var(--h-border-color);
|
|
45
|
+
border-radius: 0.4em;
|
|
46
|
+
}
|
|
47
|
+
#wenyan h3 {
|
|
48
|
+
font-size: 1.3em;
|
|
49
|
+
text-decoration: underline double var(--h-border-color);
|
|
50
|
+
-webkit-text-decoration: underline double var(--h-border-color);
|
|
51
|
+
text-decoration-thickness: 0.15em;
|
|
52
|
+
}
|
|
53
|
+
#wenyan h4 {
|
|
54
|
+
font-size: 1.2em;
|
|
55
|
+
text-decoration: underline dotted var(--h-border-color);
|
|
56
|
+
-webkit-text-decoration: underline dotted var(--h-border-color);
|
|
57
|
+
text-decoration-thickness: 0.2em;
|
|
58
|
+
}
|
|
59
|
+
#wenyan table {
|
|
60
|
+
border-collapse: collapse;
|
|
61
|
+
border: 0.25em solid var(--table-border-color);
|
|
62
|
+
margin: 1.4em auto;
|
|
63
|
+
max-width: 100%;
|
|
64
|
+
table-layout: fixed;
|
|
65
|
+
text-align: left;
|
|
66
|
+
overflow: auto;
|
|
67
|
+
display: table;
|
|
68
|
+
word-wrap: break-word;
|
|
69
|
+
word-break: break-all;
|
|
70
|
+
}
|
|
71
|
+
#wenyan table th {
|
|
72
|
+
background-color: var(--th-bg-color);
|
|
73
|
+
}
|
|
74
|
+
#wenyan table th,
|
|
75
|
+
#wenyan table td {
|
|
76
|
+
font-size: 0.75em;
|
|
77
|
+
text-align: center;
|
|
78
|
+
border: 0.13em dashed var(--table-border-color);
|
|
79
|
+
padding: 0.5em;
|
|
80
|
+
padding: 9px 12px;
|
|
81
|
+
line-height: 22px;
|
|
82
|
+
vertical-align: top;
|
|
83
|
+
}
|
|
84
|
+
#wenyan table tr:nth-child(even) {
|
|
85
|
+
background-color: var(--tr-bg-color);
|
|
86
|
+
}
|
|
87
|
+
#wenyan blockquote {
|
|
88
|
+
font-size: 0.9em;
|
|
89
|
+
margin: 0 1em;
|
|
90
|
+
color: rgb(102, 102, 102);
|
|
91
|
+
border-left: 0.25em solid rgb(169, 202, 255);
|
|
92
|
+
padding: 0.5em 1em 0.6em 1em;
|
|
93
|
+
}
|
|
94
|
+
#wenyan blockquote::before {
|
|
95
|
+
display: block;
|
|
96
|
+
height: 2em;
|
|
97
|
+
width: 1.5em;
|
|
98
|
+
content: "🌈";
|
|
99
|
+
font-size: 1.2em;
|
|
100
|
+
}
|
|
101
|
+
#wenyan blockquote p {
|
|
102
|
+
margin: 0;
|
|
103
|
+
}
|
|
104
|
+
#wenyan hr {
|
|
105
|
+
margin-top: 2em;
|
|
106
|
+
margin-bottom: 2em;
|
|
107
|
+
background-color: rgb(226, 226, 226);
|
|
108
|
+
height: 0.13em;
|
|
109
|
+
border: 0;
|
|
110
|
+
}
|
|
111
|
+
#wenyan pre {
|
|
112
|
+
line-height: 2;
|
|
113
|
+
padding: .5em;
|
|
114
|
+
border-radius: 0.4em;
|
|
115
|
+
box-shadow: var(--block-shadow);
|
|
116
|
+
}
|
|
117
|
+
#wenyan pre code {
|
|
118
|
+
display: block;
|
|
119
|
+
overflow-x: auto;
|
|
120
|
+
margin: .5em;
|
|
121
|
+
padding: 0;
|
|
122
|
+
font-family: var(--monospace-font);
|
|
123
|
+
}
|
|
124
|
+
#wenyan p code {
|
|
125
|
+
font-family: var(--monospace-font);
|
|
126
|
+
margin-left: 0.25em;
|
|
127
|
+
margin-right: 0.25em;
|
|
128
|
+
padding: 0.05em 0.3em;
|
|
129
|
+
background-color: var(--code-bg-color);
|
|
130
|
+
border-radius: 0.4em;
|
|
131
|
+
box-shadow: 0.13em 0.13em 0.26em rgb(197, 197, 197);
|
|
132
|
+
font-size: 0.9em;
|
|
133
|
+
}
|
|
134
|
+
#wenyan a {
|
|
135
|
+
word-wrap: break-word;
|
|
136
|
+
color: rgb(31, 117, 255);
|
|
137
|
+
}
|
|
138
|
+
#wenyan img {
|
|
139
|
+
max-width: 100%;
|
|
140
|
+
height: auto;
|
|
141
|
+
margin: 0 auto;
|
|
142
|
+
display: block;
|
|
143
|
+
border-radius: 5px;
|
|
144
|
+
box-shadow: var(--block-shadow);
|
|
145
|
+
}
|
|
146
|
+
#wenyan .footnote {
|
|
147
|
+
color: rgb(31, 117, 255);
|
|
148
|
+
}
|
|
149
|
+
#wenyan #footnotes p {
|
|
150
|
+
display: flex;
|
|
151
|
+
margin: 0;
|
|
152
|
+
font-size: 0.9em;
|
|
153
|
+
}
|
|
154
|
+
#wenyan .footnote-num {
|
|
155
|
+
display: inline;
|
|
156
|
+
width: 10%;
|
|
157
|
+
}
|
|
158
|
+
#wenyan .footnote-txt {
|
|
159
|
+
display: inline;
|
|
160
|
+
width: 90%;
|
|
161
|
+
word-wrap: break-word;
|
|
162
|
+
word-break: break-all;
|
|
163
|
+
}
|
|
164
|
+
`;
|
|
165
|
+
export {
|
|
166
|
+
n as default
|
|
167
|
+
};
|
|
168
|
+
//# sourceMappingURL=rainbow-BtrbZco6.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rainbow-BtrbZco6.js","sources":["../src/themes/rainbow.css?raw"],"sourcesContent":["export default \"/*\\n * Typora Theme - Rainbow / Author - thezbm\\n * https://github.com/thezbm/typora-theme-rainbow\\n */\\n\\n:root {\\n --h-border-color: rgb(255, 191, 191);\\n --h-bg-color: rgb(255, 232, 232);\\n --table-border-color: rgb(255, 235, 211);\\n --th-bg-color: rgb(255, 243, 228);\\n --tr-bg-color: rgb(255, 249, 242);\\n --code-bg-color: rgb(247, 247, 247);\\n --block-shadow: 0.15em 0.15em 0.5em rgb(150, 150, 150);\\n}\\n#wenyan {\\n font-family: var(--sans-serif-font);\\n line-height: 1.75;\\n font-size: 16px;\\n}\\n#wenyan p,\\n#wenyan pre {\\n margin: 1em 0.8em;\\n}\\n#wenyan h1,\\n#wenyan h2,\\n#wenyan h3,\\n#wenyan h4,\\n#wenyan h5,\\n#wenyan h6 {\\n margin: 1.2em 0 1em;\\n padding: 0px;\\n font-weight: bold;\\n}\\n#wenyan h1 {\\n font-size: 1.5em;\\n text-align: center;\\n text-shadow: 0.15em 0.15em 0.3em rgb(187, 187, 187);\\n}\\n#wenyan h2 {\\n font-size: 1.3em;\\n background-color: var(--h-bg-color);\\n padding-left: 1em;\\n padding-right: 1em;\\n border-left: 0.5em solid var(--h-border-color);\\n border-radius: 0.4em;\\n}\\n#wenyan h3 {\\n font-size: 1.3em;\\n text-decoration: underline double var(--h-border-color);\\n -webkit-text-decoration: underline double var(--h-border-color);\\n text-decoration-thickness: 0.15em;\\n}\\n#wenyan h4 {\\n font-size: 1.2em;\\n text-decoration: underline dotted var(--h-border-color);\\n -webkit-text-decoration: underline dotted var(--h-border-color);\\n text-decoration-thickness: 0.2em;\\n}\\n#wenyan table {\\n border-collapse: collapse;\\n border: 0.25em solid var(--table-border-color);\\n margin: 1.4em auto;\\n max-width: 100%;\\n table-layout: fixed;\\n text-align: left;\\n overflow: auto;\\n display: table;\\n word-wrap: break-word;\\n word-break: break-all;\\n}\\n#wenyan table th {\\n background-color: var(--th-bg-color);\\n}\\n#wenyan table th,\\n#wenyan table td {\\n font-size: 0.75em;\\n text-align: center;\\n border: 0.13em dashed var(--table-border-color);\\n padding: 0.5em;\\n padding: 9px 12px;\\n line-height: 22px;\\n vertical-align: top;\\n}\\n#wenyan table tr:nth-child(even) {\\n background-color: var(--tr-bg-color);\\n}\\n#wenyan blockquote {\\n font-size: 0.9em;\\n margin: 0 1em;\\n color: rgb(102, 102, 102);\\n border-left: 0.25em solid rgb(169, 202, 255);\\n padding: 0.5em 1em 0.6em 1em;\\n}\\n#wenyan blockquote::before {\\n display: block;\\n height: 2em;\\n width: 1.5em;\\n content: \\\"🌈\\\";\\n font-size: 1.2em;\\n}\\n#wenyan blockquote p {\\n margin: 0;\\n}\\n#wenyan hr {\\n margin-top: 2em;\\n margin-bottom: 2em;\\n background-color: rgb(226, 226, 226);\\n height: 0.13em;\\n border: 0;\\n}\\n#wenyan pre {\\n line-height: 2;\\n padding: .5em;\\n border-radius: 0.4em;\\n box-shadow: var(--block-shadow);\\n}\\n#wenyan pre code {\\n display: block;\\n overflow-x: auto;\\n margin: .5em;\\n padding: 0;\\n font-family: var(--monospace-font);\\n}\\n#wenyan p code {\\n font-family: var(--monospace-font);\\n margin-left: 0.25em;\\n margin-right: 0.25em;\\n padding: 0.05em 0.3em;\\n background-color: var(--code-bg-color);\\n border-radius: 0.4em;\\n box-shadow: 0.13em 0.13em 0.26em rgb(197, 197, 197);\\n font-size: 0.9em;\\n}\\n#wenyan a {\\n word-wrap: break-word;\\n color: rgb(31, 117, 255);\\n}\\n#wenyan img {\\n max-width: 100%;\\n height: auto;\\n margin: 0 auto;\\n display: block;\\n border-radius: 5px;\\n box-shadow: var(--block-shadow);\\n}\\n#wenyan .footnote {\\n color: rgb(31, 117, 255);\\n}\\n#wenyan #footnotes p {\\n display: flex;\\n margin: 0;\\n font-size: 0.9em;\\n}\\n#wenyan .footnote-num {\\n display: inline;\\n width: 10%;\\n}\\n#wenyan .footnote-txt {\\n display: inline;\\n width: 90%;\\n word-wrap: break-word;\\n word-break: break-all;\\n}\\n\""],"names":["rainbow"],"mappings":"AAAA,MAAAA,IAAe;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
const l = `pre{background:#002b36}
|
|
2
|
+
/*!
|
|
3
|
+
Theme: Solarized Dark
|
|
4
|
+
Author: Ethan Schoonover (modified by aramisgithub)
|
|
5
|
+
License: ~ MIT (or more permissive) [via base16-schemes-source]
|
|
6
|
+
Maintainer: @highlightjs/core-team
|
|
7
|
+
Version: 2021.09.0
|
|
8
|
+
*/pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{color:#93a1a1;background:#002b36}.hljs ::selection,.hljs::selection{background-color:#586e75;color:#93a1a1}.hljs-comment{color:#657b83}.hljs-tag{color:#839496}.hljs-operator,.hljs-punctuation,.hljs-subst{color:#93a1a1}.hljs-operator{opacity:.7}.hljs-bullet,.hljs-deletion,.hljs-name,.hljs-selector-tag,.hljs-template-variable,.hljs-variable{color:#dc322f}.hljs-attr,.hljs-link,.hljs-literal,.hljs-number,.hljs-symbol,.hljs-variable.constant_{color:#cb4b16}.hljs-class .hljs-title,.hljs-title,.hljs-title.class_{color:#b58900}.hljs-strong{font-weight:700;color:#b58900}.hljs-addition,.hljs-code,.hljs-string,.hljs-title.class_.inherited__{color:#859900}.hljs-built_in,.hljs-doctag,.hljs-keyword.hljs-atrule,.hljs-quote,.hljs-regexp{color:#2aa198}.hljs-attribute,.hljs-function .hljs-title,.hljs-section,.hljs-title.function_,.ruby .hljs-property{color:#268bd2}.diff .hljs-meta,.hljs-keyword,.hljs-template-tag,.hljs-type{color:#6c71c4}.hljs-emphasis{color:#6c71c4;font-style:italic}.hljs-meta,.hljs-meta .hljs-keyword,.hljs-meta .hljs-string{color:#d33682}.hljs-meta .hljs-keyword,.hljs-meta-keyword{font-weight:700}`;
|
|
9
|
+
export {
|
|
10
|
+
l as default
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=solarized-dark.min-BxbYljx4.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"solarized-dark.min-BxbYljx4.js","sources":["../src/highlight/styles/solarized-dark.min.css?raw"],"sourcesContent":["export default \"pre{background:#002b36}\\n/*!\\n Theme: Solarized Dark\\n Author: Ethan Schoonover (modified by aramisgithub)\\n License: ~ MIT (or more permissive) [via base16-schemes-source]\\n Maintainer: @highlightjs/core-team\\n Version: 2021.09.0\\n*/pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{color:#93a1a1;background:#002b36}.hljs ::selection,.hljs::selection{background-color:#586e75;color:#93a1a1}.hljs-comment{color:#657b83}.hljs-tag{color:#839496}.hljs-operator,.hljs-punctuation,.hljs-subst{color:#93a1a1}.hljs-operator{opacity:.7}.hljs-bullet,.hljs-deletion,.hljs-name,.hljs-selector-tag,.hljs-template-variable,.hljs-variable{color:#dc322f}.hljs-attr,.hljs-link,.hljs-literal,.hljs-number,.hljs-symbol,.hljs-variable.constant_{color:#cb4b16}.hljs-class .hljs-title,.hljs-title,.hljs-title.class_{color:#b58900}.hljs-strong{font-weight:700;color:#b58900}.hljs-addition,.hljs-code,.hljs-string,.hljs-title.class_.inherited__{color:#859900}.hljs-built_in,.hljs-doctag,.hljs-keyword.hljs-atrule,.hljs-quote,.hljs-regexp{color:#2aa198}.hljs-attribute,.hljs-function .hljs-title,.hljs-section,.hljs-title.function_,.ruby .hljs-property{color:#268bd2}.diff .hljs-meta,.hljs-keyword,.hljs-template-tag,.hljs-type{color:#6c71c4}.hljs-emphasis{color:#6c71c4;font-style:italic}.hljs-meta,.hljs-meta .hljs-keyword,.hljs-meta .hljs-string{color:#d33682}.hljs-meta .hljs-keyword,.hljs-meta-keyword{font-weight:700}\""],"names":["solarizedDark_min"],"mappings":"AAAA,MAAAA,IAAe;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
const l = `pre{background:#fdf6e3}
|
|
2
|
+
/*!
|
|
3
|
+
Theme: Solarized Light
|
|
4
|
+
Author: Ethan Schoonover (modified by aramisgithub)
|
|
5
|
+
License: ~ MIT (or more permissive) [via base16-schemes-source]
|
|
6
|
+
Maintainer: @highlightjs/core-team
|
|
7
|
+
Version: 2021.09.0
|
|
8
|
+
*/pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{color:#586e75;background:#fdf6e3}.hljs ::selection,.hljs::selection{background-color:#93a1a1;color:#586e75}.hljs-comment{color:#839496}.hljs-tag{color:#657b83}.hljs-operator,.hljs-punctuation,.hljs-subst{color:#586e75}.hljs-operator{opacity:.7}.hljs-bullet,.hljs-deletion,.hljs-name,.hljs-selector-tag,.hljs-template-variable,.hljs-variable{color:#dc322f}.hljs-attr,.hljs-link,.hljs-literal,.hljs-number,.hljs-symbol,.hljs-variable.constant_{color:#cb4b16}.hljs-class .hljs-title,.hljs-title,.hljs-title.class_{color:#b58900}.hljs-strong{font-weight:700;color:#b58900}.hljs-addition,.hljs-code,.hljs-string,.hljs-title.class_.inherited__{color:#859900}.hljs-built_in,.hljs-doctag,.hljs-keyword.hljs-atrule,.hljs-quote,.hljs-regexp{color:#2aa198}.hljs-attribute,.hljs-function .hljs-title,.hljs-section,.hljs-title.function_,.ruby .hljs-property{color:#268bd2}.diff .hljs-meta,.hljs-keyword,.hljs-template-tag,.hljs-type{color:#6c71c4}.hljs-emphasis{color:#6c71c4;font-style:italic}.hljs-meta,.hljs-meta .hljs-keyword,.hljs-meta .hljs-string{color:#d33682}.hljs-meta .hljs-keyword,.hljs-meta-keyword{font-weight:700}`;
|
|
9
|
+
export {
|
|
10
|
+
l as default
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=solarized-light.min-Bb25xgOC.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"solarized-light.min-Bb25xgOC.js","sources":["../src/highlight/styles/solarized-light.min.css?raw"],"sourcesContent":["export default \"pre{background:#fdf6e3}\\n/*!\\n Theme: Solarized Light\\n Author: Ethan Schoonover (modified by aramisgithub)\\n License: ~ MIT (or more permissive) [via base16-schemes-source]\\n Maintainer: @highlightjs/core-team\\n Version: 2021.09.0\\n*/pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{color:#586e75;background:#fdf6e3}.hljs ::selection,.hljs::selection{background-color:#93a1a1;color:#586e75}.hljs-comment{color:#839496}.hljs-tag{color:#657b83}.hljs-operator,.hljs-punctuation,.hljs-subst{color:#586e75}.hljs-operator{opacity:.7}.hljs-bullet,.hljs-deletion,.hljs-name,.hljs-selector-tag,.hljs-template-variable,.hljs-variable{color:#dc322f}.hljs-attr,.hljs-link,.hljs-literal,.hljs-number,.hljs-symbol,.hljs-variable.constant_{color:#cb4b16}.hljs-class .hljs-title,.hljs-title,.hljs-title.class_{color:#b58900}.hljs-strong{font-weight:700;color:#b58900}.hljs-addition,.hljs-code,.hljs-string,.hljs-title.class_.inherited__{color:#859900}.hljs-built_in,.hljs-doctag,.hljs-keyword.hljs-atrule,.hljs-quote,.hljs-regexp{color:#2aa198}.hljs-attribute,.hljs-function .hljs-title,.hljs-section,.hljs-title.function_,.ruby .hljs-property{color:#268bd2}.diff .hljs-meta,.hljs-keyword,.hljs-template-tag,.hljs-type{color:#6c71c4}.hljs-emphasis{color:#6c71c4;font-style:italic}.hljs-meta,.hljs-meta .hljs-keyword,.hljs-meta .hljs-string{color:#d33682}.hljs-meta .hljs-keyword,.hljs-meta-keyword{font-weight:700}\""],"names":["solarizedLight_min"],"mappings":"AAAA,MAAAA,IAAe;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function publishToDraft(title: string, content: string, cover: string): Promise<any>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
const l = "pre{background:#fff}pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{background:#fff;color:#000}.xml .hljs-meta{color:silver}.hljs-comment,.hljs-quote{color:#007400}.hljs-attribute,.hljs-keyword,.hljs-literal,.hljs-name,.hljs-selector-tag,.hljs-tag{color:#aa0d91}.hljs-template-variable,.hljs-variable{color:#3f6e74}.hljs-code,.hljs-meta .hljs-string,.hljs-string{color:#c41a16}.hljs-link,.hljs-regexp{color:#0e0eff}.hljs-bullet,.hljs-number,.hljs-symbol,.hljs-title{color:#1c00cf}.hljs-meta,.hljs-section{color:#643820}.hljs-built_in,.hljs-class .hljs-title,.hljs-params,.hljs-title.class_,.hljs-type{color:#5c2699}.hljs-attr{color:#836c28}.hljs-subst{color:#000}.hljs-formula{background-color:#eee;font-style:italic}.hljs-addition{background-color:#baeeba}.hljs-deletion{background-color:#ffc8bd}.hljs-selector-class,.hljs-selector-id{color:#9b703f}.hljs-doctag,.hljs-strong{font-weight:700}.hljs-emphasis{font-style:italic}";
|
|
2
|
+
export {
|
|
3
|
+
l as default
|
|
4
|
+
};
|
|
5
|
+
//# sourceMappingURL=xcode.min-CG-lWQgl.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"xcode.min-CG-lWQgl.js","sources":["../src/highlight/styles/xcode.min.css?raw"],"sourcesContent":["export default \"pre{background:#fff}pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{background:#fff;color:#000}.xml .hljs-meta{color:silver}.hljs-comment,.hljs-quote{color:#007400}.hljs-attribute,.hljs-keyword,.hljs-literal,.hljs-name,.hljs-selector-tag,.hljs-tag{color:#aa0d91}.hljs-template-variable,.hljs-variable{color:#3f6e74}.hljs-code,.hljs-meta .hljs-string,.hljs-string{color:#c41a16}.hljs-link,.hljs-regexp{color:#0e0eff}.hljs-bullet,.hljs-number,.hljs-symbol,.hljs-title{color:#1c00cf}.hljs-meta,.hljs-section{color:#643820}.hljs-built_in,.hljs-class .hljs-title,.hljs-params,.hljs-title.class_,.hljs-type{color:#5c2699}.hljs-attr{color:#836c28}.hljs-subst{color:#000}.hljs-formula{background-color:#eee;font-style:italic}.hljs-addition{background-color:#baeeba}.hljs-deletion{background-color:#ffc8bd}.hljs-selector-class,.hljs-selector-id{color:#9b703f}.hljs-doctag,.hljs-strong{font-weight:700}.hljs-emphasis{font-style:italic}\""],"names":["xcode_min"],"mappings":"AAAA,MAAAA,IAAe;"}
|
package/package.json
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@wenyan-md/core",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Core library for Wenyan markdown rendering & publishing",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"files": [
|
|
7
|
+
"dist"
|
|
8
|
+
],
|
|
9
|
+
"main": "./dist/core.js",
|
|
10
|
+
"module": "./dist/core.js",
|
|
11
|
+
"exports": {
|
|
12
|
+
".": "./dist/core.js",
|
|
13
|
+
"./publish": "./dist/publish.js"
|
|
14
|
+
},
|
|
15
|
+
"scripts": {
|
|
16
|
+
"dev": "vite build --watch",
|
|
17
|
+
"build": "vite build && tsc",
|
|
18
|
+
"testMain": "vitest run main.test.js",
|
|
19
|
+
"testPublish": "vitest run publish.test.js",
|
|
20
|
+
"prepublishOnly": "pnpm build"
|
|
21
|
+
},
|
|
22
|
+
"keywords": [],
|
|
23
|
+
"author": "",
|
|
24
|
+
"packageManager": "pnpm@10.7.1",
|
|
25
|
+
"devDependencies": {
|
|
26
|
+
"@types/css-tree": "^2.3.10",
|
|
27
|
+
"@types/jsdom": "^21.1.7",
|
|
28
|
+
"@types/node": "^24.3.0",
|
|
29
|
+
"ts-lib": "^0.0.5",
|
|
30
|
+
"typescript": "^5.9.2",
|
|
31
|
+
"vite": "^7.1.4",
|
|
32
|
+
"vitest": "^3.2.4"
|
|
33
|
+
},
|
|
34
|
+
"dependencies": {
|
|
35
|
+
"css-tree": "^3.1.0",
|
|
36
|
+
"formdata-node": "^6.0.3",
|
|
37
|
+
"front-matter": "^4.0.2",
|
|
38
|
+
"highlight.js": "^11.11.1",
|
|
39
|
+
"jsdom": "^26.1.0",
|
|
40
|
+
"marked": "^15.0.12",
|
|
41
|
+
"marked-highlight": "^2.2.1",
|
|
42
|
+
"mathjax-full": "^3.2.2"
|
|
43
|
+
}
|
|
44
|
+
}
|