vuepress-plugin-md-power 1.0.0-rc.128 → 1.0.0-rc.129
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/lib/client/components/CodeTabs.vue +2 -0
- package/lib/client/styles/steps.css +10 -16
- package/lib/node/index.js +1 -0
- package/package.json +14 -14
|
@@ -134,6 +134,8 @@ function onTabNavClick(index: number): void {
|
|
|
134
134
|
border-radius: 6px 6px 0 0;
|
|
135
135
|
box-shadow: inset 0 -1px var(--vp-code-tab-divider);
|
|
136
136
|
transition: background-color var(--vp-t-color), box-shadow var(--vp-t-color);
|
|
137
|
+
|
|
138
|
+
scrollbar-width: thin;
|
|
137
139
|
}
|
|
138
140
|
|
|
139
141
|
@media print {
|
|
@@ -2,22 +2,20 @@
|
|
|
2
2
|
margin: 16px 0;
|
|
3
3
|
}
|
|
4
4
|
|
|
5
|
-
.vp-doc .vp-steps > ol,
|
|
6
|
-
.vp-doc .vp-steps > ul {
|
|
5
|
+
.vp-doc .vp-steps > :where(ol,ul) {
|
|
7
6
|
padding-inline-start: 0;
|
|
8
7
|
list-style: none;
|
|
9
8
|
}
|
|
10
9
|
|
|
11
|
-
.vp-doc .vp-steps > ol > li
|
|
12
|
-
.vp-doc .vp-steps > ul > li {
|
|
10
|
+
.vp-doc .vp-steps > :where(ol,ul) > li {
|
|
13
11
|
position: relative;
|
|
14
|
-
min-height:
|
|
12
|
+
min-height: 28px;
|
|
15
13
|
padding-bottom: 1px;
|
|
16
14
|
padding-left: 44px;
|
|
15
|
+
line-height: 28px;
|
|
17
16
|
}
|
|
18
17
|
|
|
19
|
-
.vp-doc .vp-steps > ol > li::before
|
|
20
|
-
.vp-doc .vp-steps > ul > li::before {
|
|
18
|
+
.vp-doc .vp-steps > :where(ol,ul) > li::before {
|
|
21
19
|
position: absolute;
|
|
22
20
|
inset-inline-start: 0;
|
|
23
21
|
top: 0;
|
|
@@ -36,8 +34,7 @@
|
|
|
36
34
|
transition-property: color, background-color, border-color;
|
|
37
35
|
}
|
|
38
36
|
|
|
39
|
-
.vp-doc .vp-steps > ol > li:not(:last-of-type)::after
|
|
40
|
-
.vp-doc .vp-steps > ul > li:not(:last-of-type)::after {
|
|
37
|
+
.vp-doc .vp-steps > :where(ol,ul) > li:not(:last-of-type)::after {
|
|
41
38
|
position: absolute;
|
|
42
39
|
inset-inline-start: 14px;
|
|
43
40
|
top: 34px;
|
|
@@ -48,22 +45,19 @@
|
|
|
48
45
|
transition: background-color var(--vp-t-color);
|
|
49
46
|
}
|
|
50
47
|
|
|
51
|
-
.vp-doc .vp-steps > ol > li > :first-child
|
|
52
|
-
.vp-doc .vp-steps > ul > li > :first-child {
|
|
48
|
+
.vp-doc .vp-steps > :where(ol,ul) > li > :first-child {
|
|
53
49
|
margin-top: 0;
|
|
54
50
|
}
|
|
55
51
|
|
|
56
|
-
.vp-doc .vp-steps > ol > li > :first-child:where(h1,h2,h3,h4,h5,h6)
|
|
57
|
-
.vp-doc .vp-steps > ul > li > :first-child:where(h1,h2,h3,h4,h5,h6) {
|
|
52
|
+
.vp-doc .vp-steps > :where(ol,ul) > li > :first-child:where(h1,h2,h3,h4,h5,h6) {
|
|
58
53
|
padding-top: 0;
|
|
59
54
|
border-top: none;
|
|
60
55
|
}
|
|
61
56
|
|
|
62
|
-
.vp-doc .vp-steps > ol > li > :first-child:where(p) {
|
|
57
|
+
.vp-doc .vp-steps > :where(ol,ul) > li > :first-child:where(p) {
|
|
63
58
|
line-height: 28px;
|
|
64
59
|
}
|
|
65
60
|
|
|
66
|
-
.vp-doc .vp-steps > ol > li + li
|
|
67
|
-
.vp-doc .vp-steps > ul > li + li {
|
|
61
|
+
.vp-doc .vp-steps > :where(ol,ul) > li + li {
|
|
68
62
|
margin-top: 1px;
|
|
69
63
|
}
|
package/lib/node/index.js
CHANGED
|
@@ -1977,6 +1977,7 @@ async function compileScript(source, type2) {
|
|
|
1977
1977
|
const transform = await compiler.script();
|
|
1978
1978
|
const res = await transform(source, {
|
|
1979
1979
|
target: "es2018",
|
|
1980
|
+
platform: "browser",
|
|
1980
1981
|
format: "cjs",
|
|
1981
1982
|
loader: type2 === "ts" ? "ts" : "js",
|
|
1982
1983
|
sourcemap: false
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vuepress-plugin-md-power",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.0-rc.
|
|
4
|
+
"version": "1.0.0-rc.129",
|
|
5
5
|
"description": "The Plugin for VuePress 2 - markdown power",
|
|
6
6
|
"author": "pengzhanbo <volodymyr@foxmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -61,31 +61,31 @@
|
|
|
61
61
|
}
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@mdit/plugin-attrs": "^0.
|
|
65
|
-
"@mdit/plugin-footnote": "^0.
|
|
66
|
-
"@mdit/plugin-mark": "^0.
|
|
67
|
-
"@mdit/plugin-sub": "^0.
|
|
68
|
-
"@mdit/plugin-sup": "^0.
|
|
69
|
-
"@mdit/plugin-tab": "^0.
|
|
70
|
-
"@mdit/plugin-tasklist": "^0.
|
|
71
|
-
"@vuepress/helper": "2.0.0-rc.
|
|
72
|
-
"@vueuse/core": "^12.
|
|
64
|
+
"@mdit/plugin-attrs": "^0.16.2",
|
|
65
|
+
"@mdit/plugin-footnote": "^0.16.0",
|
|
66
|
+
"@mdit/plugin-mark": "^0.16.0",
|
|
67
|
+
"@mdit/plugin-sub": "^0.16.0",
|
|
68
|
+
"@mdit/plugin-sup": "^0.16.0",
|
|
69
|
+
"@mdit/plugin-tab": "^0.16.0",
|
|
70
|
+
"@mdit/plugin-tasklist": "^0.16.0",
|
|
71
|
+
"@vuepress/helper": "2.0.0-rc.73",
|
|
72
|
+
"@vueuse/core": "^12.4.0",
|
|
73
73
|
"chokidar": "3.6.0",
|
|
74
74
|
"image-size": "^1.2.0",
|
|
75
75
|
"local-pkg": "^1.0.0",
|
|
76
76
|
"lru-cache": "^11.0.2",
|
|
77
77
|
"markdown-it-container": "^4.0.0",
|
|
78
78
|
"nanoid": "^5.0.9",
|
|
79
|
-
"shiki": "^
|
|
80
|
-
"tm-grammars": "^1.22.
|
|
79
|
+
"shiki": "^2.0.3",
|
|
80
|
+
"tm-grammars": "^1.22.9",
|
|
81
81
|
"tm-themes": "^1.9.8",
|
|
82
82
|
"vue": "^3.5.13"
|
|
83
83
|
},
|
|
84
84
|
"devDependencies": {
|
|
85
85
|
"@types/markdown-it": "^14.1.2",
|
|
86
|
-
"artplayer": "^5.2.
|
|
86
|
+
"artplayer": "^5.2.2",
|
|
87
87
|
"dashjs": "^4.7.4",
|
|
88
|
-
"hls.js": "^1.5.
|
|
88
|
+
"hls.js": "^1.5.19",
|
|
89
89
|
"mpegts.js": "1.7.3"
|
|
90
90
|
},
|
|
91
91
|
"publishConfig": {
|