@wenyan-md/core 1.0.13 → 1.0.14
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/dist/atom-one-dark.min-Du_gemwz.js +4 -0
- package/dist/atom-one-light.min-BameqVOr.js +4 -0
- package/dist/browser/wenyan-core.js +51 -51
- package/dist/core.js +430 -278
- package/dist/default-CE6XHgHa.js +4 -0
- package/dist/dracula.min-DhYK88zj.js +4 -0
- package/dist/github-dark.min-rUG1U3df.js +4 -0
- package/dist/github.min-DEfTaph9.js +4 -0
- package/dist/hltheme.js +29 -22
- package/dist/juejin_default-B6AI_viJ.js +4 -0
- package/dist/lapis-BpjqywsV.js +4 -0
- package/dist/maize-BqG2l24H.js +4 -0
- package/dist/math/wenyan-math.js +9 -40
- package/dist/medium_default-DtspuXEE.js +4 -0
- package/dist/monokai.min-BszscX_9.js +4 -0
- package/dist/orangeheart-CWqZ_gXQ.js +4 -0
- package/dist/{phycat-CATVZm-R.js → phycat-BNJAZy4V.js} +2 -2
- package/dist/pie-CVpIzs7v.js +4 -0
- package/dist/publish.js +137 -346
- package/dist/purple-ObLhqJQS.js +4 -0
- package/dist/rainbow-C5PT3WBL.js +4 -0
- package/dist/solarized-dark.min-mpQq1Jcj.js +4 -0
- package/dist/solarized-light.min-C5Ersr9g.js +4 -0
- package/dist/theme.js +40 -33
- package/dist/toutiao_default-BQ7BN6_-.js +4 -0
- package/dist/types/core.d.ts +17 -0
- package/dist/wrapper.js +15 -10
- package/dist/xcode.min-DWdHLdoo.js +4 -0
- package/dist/zhihu_default-DUBy_Cqy.js +4 -0
- package/package.json +4 -2
- package/dist/atom-one-dark.min-hABhDLRj.js +0 -4
- package/dist/atom-one-light.min-CwiVhPEv.js +0 -4
- package/dist/default-D-dyLptq.js +0 -184
- package/dist/dracula.min-OeyC4Nkp.js +0 -11
- package/dist/github-dark.min-DOlD5Ewr.js +0 -13
- package/dist/github.min-BZ2GvPsn.js +0 -14
- package/dist/juejin_default-13x4lhT9.js +0 -134
- package/dist/lapis-BUlsdDG6.js +0 -194
- package/dist/maize-DFW0x6O3.js +0 -194
- package/dist/medium_default-Zyy9RBMn.js +0 -135
- package/dist/monokai.min-CH2iHqHz.js +0 -4
- package/dist/orangeheart-Da7uQj8U.js +0 -184
- package/dist/pie-Q9UMu3CB.js +0 -240
- package/dist/purple-Da1-Vfos.js +0 -183
- package/dist/rainbow-Bv0kNhYA.js +0 -168
- package/dist/solarized-dark.min-BxbYljx4.js +0 -11
- package/dist/solarized-light.min-Bb25xgOC.js +0 -11
- package/dist/toutiao_default-CLGOaI2x.js +0 -145
- package/dist/xcode.min-CG-lWQgl.js +0 -4
- package/dist/zhihu_default-Cz8bIkGO.js +0 -133
|
@@ -1,145 +0,0 @@
|
|
|
1
|
-
const n = `#wenyan {
|
|
2
|
-
font-family: var(--sans-serif-font);
|
|
3
|
-
line-height: 1.75;
|
|
4
|
-
}
|
|
5
|
-
#wenyan * {
|
|
6
|
-
box-sizing: border-box;
|
|
7
|
-
}
|
|
8
|
-
#wenyan h1,
|
|
9
|
-
#wenyan h2,
|
|
10
|
-
#wenyan h3,
|
|
11
|
-
#wenyan h4,
|
|
12
|
-
#wenyan h5,
|
|
13
|
-
#wenyan h6,
|
|
14
|
-
#wenyan p,
|
|
15
|
-
#wenyan pre {
|
|
16
|
-
margin: 1em 0;
|
|
17
|
-
}
|
|
18
|
-
#wenyan h1,
|
|
19
|
-
#wenyan h2,
|
|
20
|
-
#wenyan h3,
|
|
21
|
-
#wenyan h4,
|
|
22
|
-
#wenyan h5,
|
|
23
|
-
#wenyan h6 {
|
|
24
|
-
font-size: 17px;
|
|
25
|
-
line-height: 30px;
|
|
26
|
-
margin-top: 20px;
|
|
27
|
-
margin-bottom: 12px;
|
|
28
|
-
position: relative;
|
|
29
|
-
}
|
|
30
|
-
#wenyan h1:before,
|
|
31
|
-
#wenyan h2:before,
|
|
32
|
-
#wenyan h3:before,
|
|
33
|
-
#wenyan h4:before,
|
|
34
|
-
#wenyan h5:before,
|
|
35
|
-
#wenyan h6:before {
|
|
36
|
-
content: "";
|
|
37
|
-
display: inline-block;
|
|
38
|
-
vertical-align: 1px;
|
|
39
|
-
width: 10px;
|
|
40
|
-
height: 26px;
|
|
41
|
-
margin-right: 6px;
|
|
42
|
-
background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMCIgaGVpZ2h0PSIyNiIgdmlld0JveD0iMCAwIDEwIDI2IiBmaWxsPSJub25lIj4KICA8cGF0aCBkPSJNOS41IDYuNTY2NTlMNC40OTk5NCAxOS40MzI2TDAgMTkuNDMyNkw1LjAwMDA2IDYuNTY2NTlMOS41IDYuNTY2NTlaIiBmaWxsPSIjRkY0MDNBIi8+Cjwvc3ZnPgo=);
|
|
43
|
-
background-repeat: no-repeat;
|
|
44
|
-
background-size: cover;
|
|
45
|
-
background-position-y: 8px;
|
|
46
|
-
}
|
|
47
|
-
#wenyan ul,
|
|
48
|
-
#wenyan ol {
|
|
49
|
-
padding-left: 1.2em;
|
|
50
|
-
}
|
|
51
|
-
#wenyan li {
|
|
52
|
-
margin-left: 1.2em;
|
|
53
|
-
}
|
|
54
|
-
#wenyan img {
|
|
55
|
-
max-width: 100%;
|
|
56
|
-
height: auto;
|
|
57
|
-
margin: 0 auto;
|
|
58
|
-
display: block;
|
|
59
|
-
}
|
|
60
|
-
#wenyan table {
|
|
61
|
-
margin-left: auto;
|
|
62
|
-
margin-right: auto;
|
|
63
|
-
border-collapse: collapse;
|
|
64
|
-
table-layout: fixed;
|
|
65
|
-
overflow: auto;
|
|
66
|
-
border-spacing: 0;
|
|
67
|
-
font-size: 1em;
|
|
68
|
-
word-wrap: break-word;
|
|
69
|
-
word-break: break-all;
|
|
70
|
-
}
|
|
71
|
-
#wenyan table td,
|
|
72
|
-
#wenyan table th {
|
|
73
|
-
height: 40px;
|
|
74
|
-
padding: 9px 12px;
|
|
75
|
-
line-height: 22px;
|
|
76
|
-
color: #222;
|
|
77
|
-
min-width: 88px;
|
|
78
|
-
border: 1px solid #d8d8d8;
|
|
79
|
-
vertical-align: top;
|
|
80
|
-
}
|
|
81
|
-
#wenyan blockquote {
|
|
82
|
-
margin: 0;
|
|
83
|
-
margin-bottom: 20px;
|
|
84
|
-
padding: 0 16px;
|
|
85
|
-
position: relative;
|
|
86
|
-
color: #999;
|
|
87
|
-
text-align: justify;
|
|
88
|
-
}
|
|
89
|
-
#wenyan blockquote:before {
|
|
90
|
-
content: " ";
|
|
91
|
-
left: 0;
|
|
92
|
-
position: absolute;
|
|
93
|
-
width: 2px;
|
|
94
|
-
height: 100%;
|
|
95
|
-
background: #f2f2f2;
|
|
96
|
-
}
|
|
97
|
-
#wenyan p code {
|
|
98
|
-
font-family: var(--monospace-font);
|
|
99
|
-
color: #1e6bb8;
|
|
100
|
-
}
|
|
101
|
-
/* 代码块 */
|
|
102
|
-
#wenyan pre {
|
|
103
|
-
border-radius: 3px;
|
|
104
|
-
border: 1px solid #e8e8e8;
|
|
105
|
-
line-height: 2;
|
|
106
|
-
margin: 1em 0.5em;
|
|
107
|
-
padding: .5em;
|
|
108
|
-
}
|
|
109
|
-
#wenyan pre code {
|
|
110
|
-
font-family: var(--monospace-font);
|
|
111
|
-
display: block;
|
|
112
|
-
overflow-x: auto;
|
|
113
|
-
margin: .5em;
|
|
114
|
-
padding: 0;
|
|
115
|
-
}
|
|
116
|
-
#wenyan hr {
|
|
117
|
-
width: 100%;
|
|
118
|
-
height: 1px;
|
|
119
|
-
background-color: #e8e8e8;
|
|
120
|
-
border: none;
|
|
121
|
-
margin: 20px 0;
|
|
122
|
-
}
|
|
123
|
-
/* 链接 */
|
|
124
|
-
#wenyan a {
|
|
125
|
-
word-wrap: break-word;
|
|
126
|
-
color: #0069c2;
|
|
127
|
-
}
|
|
128
|
-
/* 脚注 */
|
|
129
|
-
#wenyan #footnotes ul {
|
|
130
|
-
font-size: 0.9em;
|
|
131
|
-
margin: 0;
|
|
132
|
-
padding-left: 1.2em;
|
|
133
|
-
}
|
|
134
|
-
#wenyan #footnotes li {
|
|
135
|
-
margin: 0 0 0 1.2em;
|
|
136
|
-
word-wrap: break-word;
|
|
137
|
-
word-break: break-all;
|
|
138
|
-
}
|
|
139
|
-
#wenyan .footnote {
|
|
140
|
-
color: #0069c2;
|
|
141
|
-
}
|
|
142
|
-
`;
|
|
143
|
-
export {
|
|
144
|
-
n as default
|
|
145
|
-
};
|
|
@@ -1,4 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
const n = `#wenyan {
|
|
2
|
-
font-family: var(--sans-serif-font);
|
|
3
|
-
line-height: 1.75;
|
|
4
|
-
font-size: 16px;
|
|
5
|
-
}
|
|
6
|
-
#wenyan * {
|
|
7
|
-
box-sizing: border-box;
|
|
8
|
-
}
|
|
9
|
-
#wenyan h1,
|
|
10
|
-
#wenyan h2,
|
|
11
|
-
#wenyan h3,
|
|
12
|
-
#wenyan h4,
|
|
13
|
-
#wenyan h5,
|
|
14
|
-
#wenyan h6,
|
|
15
|
-
#wenyan p,
|
|
16
|
-
#wenyan pre {
|
|
17
|
-
margin: 1em 0;
|
|
18
|
-
}
|
|
19
|
-
#wenyan h1,
|
|
20
|
-
#wenyan h2 {
|
|
21
|
-
clear: left;
|
|
22
|
-
font-size: 1.2em;
|
|
23
|
-
font-weight: 600;
|
|
24
|
-
line-height: 1.5;
|
|
25
|
-
margin-bottom: 1.16667em;
|
|
26
|
-
margin-top: 2.33333em;
|
|
27
|
-
}
|
|
28
|
-
#wenyan h3,
|
|
29
|
-
#wenyan h4,
|
|
30
|
-
#wenyan h5,
|
|
31
|
-
#wenyan h6 {
|
|
32
|
-
clear: left;
|
|
33
|
-
font-size: 1.1em;
|
|
34
|
-
font-weight: 600;
|
|
35
|
-
line-height: 1.5;
|
|
36
|
-
margin-bottom: 1.27273em;
|
|
37
|
-
margin-top: 1.90909em;
|
|
38
|
-
}
|
|
39
|
-
#wenyan ul,
|
|
40
|
-
#wenyan ol {
|
|
41
|
-
padding-left: 1.2em;
|
|
42
|
-
}
|
|
43
|
-
#wenyan li {
|
|
44
|
-
margin-left: 1.2em;
|
|
45
|
-
}
|
|
46
|
-
#wenyan img {
|
|
47
|
-
max-width: 100%;
|
|
48
|
-
height: auto;
|
|
49
|
-
margin: 0 auto;
|
|
50
|
-
display: block;
|
|
51
|
-
}
|
|
52
|
-
#wenyan table {
|
|
53
|
-
border-collapse: collapse;
|
|
54
|
-
font-size: 15px;
|
|
55
|
-
margin: 1.4em auto;
|
|
56
|
-
max-width: 100%;
|
|
57
|
-
table-layout: fixed;
|
|
58
|
-
text-align: left;
|
|
59
|
-
width: 100%;
|
|
60
|
-
word-wrap: break-word;
|
|
61
|
-
word-break: break-all;
|
|
62
|
-
}
|
|
63
|
-
#wenyan table th {
|
|
64
|
-
background: #ebeced;
|
|
65
|
-
color: #191b1f;
|
|
66
|
-
font-weight: 500;
|
|
67
|
-
}
|
|
68
|
-
#wenyan table td,
|
|
69
|
-
#wenyan table th {
|
|
70
|
-
border: 1px solid #c4c7ce;
|
|
71
|
-
height: 24px;
|
|
72
|
-
line-height: 24px;
|
|
73
|
-
padding: 3px 12px;
|
|
74
|
-
}
|
|
75
|
-
#wenyan blockquote {
|
|
76
|
-
border-left: 3px solid #c4c7ce;
|
|
77
|
-
margin: 1.5em 0;
|
|
78
|
-
padding: 0 0 1em 1em;
|
|
79
|
-
color: #535861;
|
|
80
|
-
}
|
|
81
|
-
#wenyan code {
|
|
82
|
-
margin: 0px 2px;
|
|
83
|
-
padding: 3px 4px;
|
|
84
|
-
border-radius: 3px;
|
|
85
|
-
font-family: var(--monospace-font);
|
|
86
|
-
background-color: rgb(246, 246, 246);
|
|
87
|
-
}
|
|
88
|
-
#wenyan pre {
|
|
89
|
-
word-wrap: normal;
|
|
90
|
-
background: #f8f8fa;
|
|
91
|
-
border-radius: 4px;
|
|
92
|
-
line-height: 2;
|
|
93
|
-
margin: 1em 0.5em;
|
|
94
|
-
padding: .5em;
|
|
95
|
-
white-space: pre;
|
|
96
|
-
word-break: normal;
|
|
97
|
-
}
|
|
98
|
-
#wenyan pre code {
|
|
99
|
-
display: block;
|
|
100
|
-
overflow-x: auto;
|
|
101
|
-
margin: .5em;
|
|
102
|
-
padding: 0;
|
|
103
|
-
}
|
|
104
|
-
#wenyan hr {
|
|
105
|
-
border: none;
|
|
106
|
-
border-top: 1px solid #c4c7ce;
|
|
107
|
-
margin: 2em auto;
|
|
108
|
-
max-width: 100%;
|
|
109
|
-
width: 240px;
|
|
110
|
-
}
|
|
111
|
-
/* 链接 */
|
|
112
|
-
#wenyan a {
|
|
113
|
-
word-wrap: break-word;
|
|
114
|
-
color: #0069c2;
|
|
115
|
-
}
|
|
116
|
-
/* 脚注 */
|
|
117
|
-
#wenyan #footnotes ul {
|
|
118
|
-
font-size: 0.9em;
|
|
119
|
-
margin: 0;
|
|
120
|
-
padding-left: 1.2em;
|
|
121
|
-
}
|
|
122
|
-
#wenyan #footnotes li {
|
|
123
|
-
margin: 0 0 0 1.2em;
|
|
124
|
-
word-wrap: break-word;
|
|
125
|
-
word-break: break-all;
|
|
126
|
-
}
|
|
127
|
-
#wenyan .footnote {
|
|
128
|
-
color: #0069c2;
|
|
129
|
-
}
|
|
130
|
-
`;
|
|
131
|
-
export {
|
|
132
|
-
n as default
|
|
133
|
-
};
|