@wenyan-md/mcp 1.0.1 → 1.0.2

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 (53) hide show
  1. package/README.md +34 -2
  2. package/package.json +1 -1
  3. package/dist/highlight/highlight/styles/atom-one-dark.min.css +0 -1
  4. package/dist/highlight/highlight/styles/atom-one-light.min.css +0 -1
  5. package/dist/highlight/highlight/styles/dracula.min.css +0 -8
  6. package/dist/highlight/highlight/styles/github-dark.min.css +0 -10
  7. package/dist/highlight/highlight/styles/github.min.css +0 -10
  8. package/dist/highlight/highlight/styles/monokai.min.css +0 -1
  9. package/dist/highlight/highlight/styles/solarized-dark.min.css +0 -8
  10. package/dist/highlight/highlight/styles/solarized-light.min.css +0 -8
  11. package/dist/highlight/highlight/styles/xcode.min.css +0 -1
  12. package/dist/highlight/styles/atom-one-dark.min.css +0 -1
  13. package/dist/highlight/styles/atom-one-light.min.css +0 -1
  14. package/dist/highlight/styles/dracula.min.css +0 -8
  15. package/dist/highlight/styles/github-dark.min.css +0 -10
  16. package/dist/highlight/styles/github.min.css +0 -10
  17. package/dist/highlight/styles/monokai.min.css +0 -1
  18. package/dist/highlight/styles/solarized-dark.min.css +0 -8
  19. package/dist/highlight/styles/solarized-light.min.css +0 -8
  20. package/dist/highlight/styles/xcode.min.css +0 -1
  21. package/dist/index.d.ts +0 -11
  22. package/dist/index.d.ts.map +0 -1
  23. package/dist/index.js +0 -118
  24. package/dist/mac_style.css +0 -8
  25. package/dist/main.js +0 -495
  26. package/dist/publish.d.ts +0 -2
  27. package/dist/publish.d.ts.map +0 -1
  28. package/dist/publish.js +0 -142
  29. package/dist/resources.d.ts +0 -3
  30. package/dist/resources.d.ts.map +0 -1
  31. package/dist/resources.js +0 -42
  32. package/dist/theme.d.ts +0 -7
  33. package/dist/theme.d.ts.map +0 -1
  34. package/dist/theme.js +0 -42
  35. package/dist/themes/default.css +0 -180
  36. package/dist/themes/lapis.css +0 -190
  37. package/dist/themes/maize.css +0 -190
  38. package/dist/themes/orangeheart.css +0 -180
  39. package/dist/themes/phycat.css +0 -331
  40. package/dist/themes/pie.css +0 -236
  41. package/dist/themes/purple.css +0 -179
  42. package/dist/themes/rainbow.css +0 -163
  43. package/dist/themes/themes/default.css +0 -180
  44. package/dist/themes/themes/lapis.css +0 -190
  45. package/dist/themes/themes/maize.css +0 -190
  46. package/dist/themes/themes/orangeheart.css +0 -180
  47. package/dist/themes/themes/phycat.css +0 -331
  48. package/dist/themes/themes/pie.css +0 -236
  49. package/dist/themes/themes/purple.css +0 -179
  50. package/dist/themes/themes/rainbow.css +0 -163
  51. package/dist/types.d.ts +0 -10
  52. package/dist/types.d.ts.map +0 -1
  53. package/dist/types.js +0 -1
@@ -1,331 +0,0 @@
1
- /*
2
- * Typora Theme - Phycat / Author - sumruler
3
- * https://github.com/sumruler/typora-theme-phycat
4
- */
5
-
6
- :root {
7
- /* 标题后小图标,借鉴自思源笔记主题——Savor */
8
- --h1-r-graphic: url("https://cdn.phycat.cn/img/mdicon/green/h1_icon.svg")
9
- no-repeat center;
10
- --h2-r-graphic: url("https://cdn.phycat.cn/img/mdicon/green/h2_icon.svg")
11
- no-repeat center;
12
- --h3-r-graphic: url("https://cdn.phycat.cn/img/mdicon/green/h3_icon.svg")
13
- no-repeat center;
14
- --h4-r-graphic: url("https://cdn.phycat.cn/img/mdicon/green/h4_icon.svg")
15
- no-repeat center;
16
- --h5-r-graphic: url("https://cdn.phycat.cn/img/mdicon/green/h5_icon.svg")
17
- no-repeat center;
18
- --h6-r-graphic: url("https://cdn.phycat.cn/img/mdicon/green/h6_icon.svg")
19
- no-repeat center;
20
-
21
- /* 是否开启网格背景?1 是;0 否 */
22
- --bg-grid: 0;
23
-
24
- /* 主题颜色 */
25
-
26
- --head-title-color: #3db8bf;
27
- /* 标题主色 */
28
- --head-title-h2-color: #fff;
29
- --head-title-h2-background: linear-gradient(to right, #3db8d3, #80f7c4);
30
- /* 二级标题主色,因为二级标题是背景色的,所以单独设置 */
31
-
32
- --element-color: #3db8bf;
33
- /* 元素主色 */
34
- --element-color-deep: #089ba3;
35
- /* 元素深色 */
36
- --element-color-shallow: #7aeaf0;
37
- /* 元素浅色 */
38
- --element-color-so-shallow: #7aeaf077;
39
- /* 元素很浅色 */
40
- --element-color-soo-shallow: #7aeaf018;
41
- /* 元素非常浅色 */
42
-
43
- --element-color-linecode: #089ba3;
44
- /* 行内代码文字色 */
45
- --element-color-linecode-background: #7aeaf018;
46
- /* 行内代码背景色 */
47
- }
48
- #wenyan {
49
- font-size: 14px;
50
- font-family:var(--sans-serif-font);
51
- margin: 0 auto;
52
- padding: 15px;
53
- line-height: 1.75;
54
- color: #000;
55
- letter-spacing: 1.1px;
56
- word-break: break-word;
57
- word-wrap: break-word;
58
- text-align: left;
59
- background-image: linear-gradient(90deg,
60
- rgba(50, 0, 0, 0.05) calc(3% * var(--bg-grid)),
61
- rgba(0, 0, 0, 0) calc(3% * var(--bg-grid))),
62
- linear-gradient(360deg,
63
- rgba(50, 0, 0, 0.05) calc(3% * var(--bg-grid)),
64
- rgba(0, 0, 0, 0) calc(3% * var(--bg-grid)));
65
- background-size: 20px 20px;
66
- background-position: center center;
67
- }
68
- #wenyan p {
69
- text-align:justify;
70
- color: #333;
71
- margin: 10px 10px;
72
- word-spacing: 2px;
73
- }
74
- #wenyan h3::after,
75
- #wenyan h4::after,
76
- #wenyan h5::after,
77
- #wenyan h6::after {
78
- content: '';
79
- margin-left: 0.2em;
80
- height: 2em;
81
- width: 1.2em;
82
- }
83
- #wenyan h3::after {
84
- background: var(--h3-r-graphic);
85
- background-position-y: -2px;
86
- }
87
- #wenyan h4::after {
88
- background: var(--h4-r-graphic);
89
- background-position-y: -2px;
90
- }
91
- #wenyan h5::after {
92
- background: var(--h5-r-graphic);
93
- background-position-y: -1px;
94
- }
95
- #wenyan h6::after {
96
- background: var(--h6-r-graphic);
97
- background-position-y: -1px;
98
- }
99
- #wenyan h1 {
100
- text-align: center;
101
- font-weight: bold;
102
- font-size: 1.4em;
103
- }
104
- #wenyan h2 {
105
- color: var(--head-title-h2-color);
106
- font-size: 1.4em;
107
- line-height: 1.6;
108
- width: fit-content;
109
- font-weight: bold;
110
- margin: 20px 0 5px;
111
- padding: 1px 12.5px;
112
- border-radius: 4px;
113
- background: var(--head-title-h2-background);
114
- background-size: 200% 100%;
115
- background-position: 0% 0%;
116
- transition: all ease-in-out 0.1s;
117
- }
118
- #wenyan h3,h4,h5,h6{
119
- font-weight: bold;
120
- display: flex;
121
- align-items: top;
122
- }
123
- #wenyan h3 {
124
- width: fit-content;
125
- margin: 20px 0 5px;
126
- font-size: 1.3em;
127
- padding-left: 10px;
128
- border-left: 5px solid var(--head-title-color);
129
- }
130
- #wenyan h3 span {
131
- border-bottom: 2px hidden var(--head-title-color);
132
- }
133
- #wenyan h4 {
134
- margin: 20px 0 5px;
135
- font-size: 1.15em;
136
- }
137
- #wenyan h4::before {
138
- content: '';
139
- margin-right: 7px;
140
- margin-top: 8px;
141
- background-color: var(--head-title-color);
142
- width: 10px;
143
- height: 10px;
144
- border-radius: 100%;
145
- border: var(--head-title-color) 1px solid;
146
- }
147
- #wenyan h5 {
148
- margin: 20px 0 5px;
149
- font-size: 1.1em;
150
- }
151
- #wenyan h5::before {
152
- content: '';
153
- margin-right: 7px;
154
- margin-top: 8px;
155
- display: inline-block;
156
- background-color: #ffffff;
157
- width: 10px;
158
- height: 10px;
159
- border-radius: 100%;
160
- border: var(--head-title-color) 2px solid;
161
- }
162
- #wenyan h6 {
163
- margin: 20px 0 5px;
164
- font-size: 1.1em;
165
- }
166
- #wenyan h6::before {
167
- content: '⁘';
168
- color: var(--head-title-color);
169
- margin-right: 7px;
170
- }
171
-
172
- #wenyan ol {
173
- margin-left: 2px;
174
- padding-left: 12px;
175
- margin-bottom: 0px;
176
- margin-top: 0px;
177
- }
178
-
179
- #wenyan ul {
180
- list-style-type: disc;
181
- margin-bottom: 0px;
182
- margin-top: 0px;
183
- }
184
-
185
- #wenyan ul ul {
186
- list-style-type: circle;
187
- }
188
-
189
- #wenyan ul ul ul {
190
- list-style-type: square;
191
- }
192
-
193
- #wenyan ol {
194
- padding-left: 27px;
195
- list-style-type: decimal;
196
- }
197
- #wenyan ol ol {
198
- list-style-type: lower-alpha;
199
- }
200
- #wenyan ol ol ol {
201
- list-style-type: lower-roman;
202
- }
203
-
204
- #wenyan li {
205
- color: #333;
206
- margin: 0px 6px;
207
- word-spacing: 2px;
208
- line-height: 2.5;
209
- }
210
-
211
- #wenyan li {
212
- position: relative;
213
- }
214
- #wenyan li > p{
215
- margin:0;
216
- }
217
- #wenyan blockquote {
218
- font-size:12px;
219
- margin-left: 12px;
220
- text-align:justify;
221
- padding: 12px;
222
- background: var(--element-color-soo-shallow);
223
- border: 0px solid var(--element-color);
224
- border-left-color: var(--element-color);
225
- border-left-width: 4px;
226
- border-radius: 4px;
227
- line-height: 26px;
228
- }
229
- #wenyan blockquote p {
230
- color: #000;
231
- }
232
- #wenyan a {
233
- color: #000;
234
- font-weight: bolder;
235
- text-decoration: none;
236
- border-bottom: 1px solid #3db8bf;
237
- }
238
-
239
- #wenyan strong {
240
- color: #000;
241
- font-weight: bold;
242
- }
243
- #wenyan em {
244
- font-style: italic;
245
- color: #000;
246
- }
247
- #wenyan del {
248
- text-decoration-color: var(--element-color-deep);
249
- }
250
- #wenyan hr {
251
- height: 1px;
252
- padding: 0;
253
- border: none;
254
- border-top: 2px solid var(--head-title-color);
255
- }
256
- #wenyan img {
257
- max-width: 90%;
258
- display:block;
259
- border-radius: 6px;
260
- margin: 10px auto;
261
- object-fit: contain;
262
- }
263
- #wenyan p code {
264
- padding: 3px 3px 1px;
265
- color: var(--element-color-linecode);
266
- background: var(--element-color-linecode-background);
267
- border-radius: 3px;
268
- font-family: var(--monospace-font);
269
- letter-spacing: 0.5px;
270
- }
271
- #wenyan li code {
272
- color: var(--element-color-linecode);
273
- }
274
- #wenyan pre {
275
- border-radius: 5px;
276
- line-height: 2;
277
- margin: 1em 0.5em;
278
- padding: .5em;
279
- box-shadow: rgba(0, 0, 0, 0.55) 0px 1px 5px;
280
- }
281
- #wenyan pre code {
282
- font-family: var(--monospace-font);
283
- display: block;
284
- overflow-x: auto;
285
- margin: .5em;
286
- padding: 0;
287
- }
288
- #wenyan table {
289
- border-collapse: collapse;
290
- margin: 1.4em auto;
291
- max-width: 100%;
292
- table-layout: fixed;
293
- text-align: left;
294
- overflow: auto;
295
- display: table;
296
- word-wrap: break-word;
297
- word-break: break-all;
298
- }
299
- #wenyan table td,
300
- #wenyan table th {
301
- font-size: 10px;
302
- padding: 9px 12px;
303
- line-height: 22px;
304
- color: #222;
305
- border: 1px solid var(--element-color-deep);
306
- vertical-align: top;
307
- }
308
- #wenyan table th {
309
- font-weight: bold;
310
- background-color: var(--element-color-soo-shallow);
311
- color: var(--element-color-deep);
312
- }
313
-
314
- #wenyan .footnote {
315
- color: var(--primary-color);
316
- }
317
- #wenyan #footnotes p {
318
- display: flex;
319
- margin: 0;
320
- font-size: 0.9em;
321
- }
322
- #wenyan .footnote-num {
323
- display: inline;
324
- width: 10%;
325
- }
326
- #wenyan .footnote-txt {
327
- display: inline;
328
- width: 90%;
329
- word-wrap: break-word;
330
- word-break: break-all;
331
- }
@@ -1,236 +0,0 @@
1
- /*
2
- * Typora Theme - Pie / Author - kevinzhao2233
3
- * https://github.com/kevinzhao2233/typora-theme-pie
4
- */
5
-
6
- :root {
7
- --mid-1: #ffffff;
8
- --mid-7: #8c8c8c;
9
- --mid-9: #434343;
10
- --mid-10: #262626;
11
- --main-1: #fff2f0;
12
- --main-4: #f27f79;
13
- --main-5: #e6514e;
14
- --main-6: #da282a;
15
- }
16
- #wenyan {
17
- font-family: var(--sans-serif-font);
18
- line-height: 1.75;
19
- color: var(--mid-10);
20
- letter-spacing: 0;
21
- font-size: 16px;
22
- }
23
- #wenyan p,
24
- #wenyan pre {
25
- margin: 1em 0.8em;
26
- }
27
- #wenyan p {
28
- word-spacing: 0.05rem;
29
- text-align: justify;
30
- }
31
- #wenyan a {
32
- word-wrap: break-word;
33
- color: var(--main-6);
34
- text-decoration: none;
35
- border-bottom: 1px solid var(--main-6);
36
- transition: border-bottom 0.2s;
37
- padding: 0 2px;
38
- font-weight: 500;
39
- text-decoration: none;
40
- }
41
- #wenyan h1,
42
- #wenyan h2,
43
- #wenyan h3,
44
- #wenyan h4,
45
- #wenyan h5,
46
- #wenyan h6 {
47
- position: relative;
48
- margin: 1.2em 0 1em;
49
- padding: 0px;
50
- font-weight: bold;
51
- cursor: text;
52
- }
53
- #wenyan h2 a,
54
- #wenyan h3 a {
55
- color: var(--mid-9);
56
- }
57
- #wenyan h1 {
58
- font-size: 1.5em;
59
- text-align: center;
60
- }
61
- #wenyan h1::after {
62
- display: block;
63
- width: 100px;
64
- height: 2px;
65
- margin: 0.2em auto 0;
66
- content: "";
67
- border-bottom: 2px dashed var(--main-6);
68
- }
69
- #wenyan h2 {
70
- padding-left: 6px;
71
- margin: 2em auto 1.4em;
72
- font-size: 1.3em;
73
- border-left: 6px solid var(--main-6);
74
- }
75
- #wenyan h3 {
76
- font-size: 1.2em;
77
- }
78
- #wenyan h3::before {
79
- display: inline-block;
80
- width: 6px;
81
- height: 6px;
82
- margin-right: 6px;
83
- margin-bottom: 0.18em;
84
- line-height: 1.43;
85
- vertical-align: middle;
86
- content: "";
87
- background-color: var(--main-5);
88
- border-radius: 50%;
89
- }
90
- #wenyan h4 {
91
- font-size: 1.2em;
92
- }
93
- #wenyan h4::before {
94
- display: inline-block;
95
- width: 6px;
96
- height: 2px;
97
- margin-right: 8px;
98
- margin-bottom: 0.18em;
99
- vertical-align: middle;
100
- content: "";
101
- background-color: var(--main-4);
102
- }
103
- #wenyan h5 {
104
- font-size: 1.2em;
105
- }
106
- #wenyan h6 {
107
- font-size: 1.2em;
108
- color: var(--mid-7);
109
- }
110
- #wenyan li > ol,
111
- #wenyan li > ul {
112
- margin: 0;
113
- }
114
- #wenyan hr {
115
- box-sizing: content-box;
116
- width: 100%;
117
- height: 1px;
118
- padding: 0;
119
- margin: 46px auto 64px;
120
- overflow: hidden;
121
- background-color: var(--main-4);
122
- border: 0;
123
- }
124
- #wenyan blockquote {
125
- position: relative;
126
- padding: 24px 16px 12px;
127
- margin: 24px 0 36px;
128
- font-size: 1em;
129
- font-style: normal;
130
- line-height: 1.6;
131
- color: var(--mid-7);
132
- text-indent: 0;
133
- border: none;
134
- border-left: 2px solid var(--main-6);
135
- }
136
- #wenyan blockquote blockquote {
137
- padding-right: 0;
138
- }
139
- #wenyan blockquote a {
140
- color: var(--mid-7);
141
- }
142
- #wenyan blockquote::before {
143
- position: absolute;
144
- top: 0;
145
- left: 12px;
146
- font-family: Arial, serif;
147
- font-size: 2em;
148
- font-weight: 700;
149
- line-height: 1em;
150
- color: var(--main-6);
151
- content: "“";
152
- }
153
- #wenyan table {
154
- border-collapse: collapse;
155
- margin: 1.4em auto;
156
- max-width: 100%;
157
- table-layout: fixed;
158
- text-align: left;
159
- overflow: auto;
160
- display: table;
161
- word-wrap: break-word;
162
- word-break: break-all;
163
- }
164
- #wenyan table td,
165
- #wenyan table th {
166
- font-size: 0.75em;
167
- padding: 9px 12px;
168
- line-height: 22px;
169
- vertical-align: top;
170
- border: 1px solid var(--main-4);
171
- }
172
- #wenyan table th {
173
- font-weight: bold;
174
- color: var(--main-6);
175
- background-color: var(--main-1);
176
- }
177
- #wenyan strong {
178
- padding: 0 1px;
179
- }
180
- #wenyan em {
181
- padding: 0 5px 0 2px;
182
- }
183
- #wenyan p code {
184
- padding: 2px 4px 1px;
185
- margin: 0 2px;
186
- font-family: var(--monospace-font);
187
- font-size: 0.92rem;
188
- color: var(--main-5);
189
- background-color: var(--main-1);
190
- border-radius: 3px;
191
- }
192
- #wenyan p code {
193
- vertical-align: 0.5px;
194
- }
195
- #wenyan .footnote {
196
- color: var(--main-5);
197
- background-color: var(--main-1);
198
- }
199
- #wenyan img {
200
- max-width: 100%;
201
- display: block;
202
- margin: 0 auto;
203
- border-radius: 4px;
204
- }
205
- #wenyan pre {
206
- border-radius: 5px;
207
- line-height: 2;
208
- margin: 1em 0.5em;
209
- padding: .5em;
210
- box-shadow: rgba(0, 0, 0, 0.55) 0px 1px 5px;
211
- }
212
- #wenyan pre code {
213
- display: block;
214
- overflow-x: auto;
215
- margin: .5em;
216
- padding: 0;
217
- font-family: var(--monospace-font);
218
- }
219
- #wenyan .footnote {
220
- color: rgb(239, 112, 96);
221
- }
222
- #wenyan #footnotes p {
223
- display: flex;
224
- margin: 0;
225
- font-size: 0.9em;
226
- }
227
- #wenyan .footnote-num {
228
- display: inline;
229
- width: 10%;
230
- }
231
- #wenyan .footnote-txt {
232
- display: inline;
233
- width: 90%;
234
- word-wrap: break-word;
235
- word-break: break-all;
236
- }