vitepress-plugin-steps 0.2.0 → 0.3.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/dist/node/index.d.ts +5 -5
- package/dist/node/index.js +7 -4
- package/package.json +3 -3
package/dist/node/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { PluginSimple } from "markdown-it";
|
|
2
2
|
|
|
3
|
-
//#region src/node/
|
|
4
|
-
declare const
|
|
3
|
+
//#region src/node/plugin.d.ts
|
|
4
|
+
declare const steps: (options?: unknown) => import("vitepress-tuck").VitepressPlugin;
|
|
5
5
|
//#endregion
|
|
6
|
-
//#region src/node/
|
|
7
|
-
declare const
|
|
6
|
+
//#region src/node/markdown.d.ts
|
|
7
|
+
declare const stepsMarkdownPlugin: PluginSimple;
|
|
8
8
|
//#endregion
|
|
9
|
-
export {
|
|
9
|
+
export { steps as default, steps, stepsMarkdownPlugin };
|
package/dist/node/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { definePlugin } from "vitepress-tuck";
|
|
2
2
|
import { createContainerPlugin } from "vitepress-plugin-toolkit";
|
|
3
|
-
//#region src/node/
|
|
3
|
+
//#region src/node/markdown.ts
|
|
4
4
|
const stepsMarkdownPlugin = (md) => {
|
|
5
5
|
createContainerPlugin(md, "steps", { before: () => "<div class=\"vp-steps\">" });
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
8
|
-
//#region src/node/
|
|
9
|
-
|
|
8
|
+
//#region src/node/plugin.ts
|
|
9
|
+
const steps = definePlugin(() => ({
|
|
10
10
|
name: "vitepress-plugin-steps",
|
|
11
11
|
client: { imports: [`import 'vitepress-plugin-steps/style.css'`] },
|
|
12
12
|
markdown: { config: (md) => {
|
|
@@ -14,4 +14,7 @@ var node_default = definePlugin(() => ({
|
|
|
14
14
|
} }
|
|
15
15
|
}));
|
|
16
16
|
//#endregion
|
|
17
|
-
|
|
17
|
+
//#region src/node/index.ts
|
|
18
|
+
var node_default = steps;
|
|
19
|
+
//#endregion
|
|
20
|
+
export { node_default as default, steps, stepsMarkdownPlugin };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vitepress-plugin-steps",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.3.0",
|
|
5
5
|
"description": "Render ordered/unordered lists as numbered steps with badges and connecting lines.",
|
|
6
6
|
"author": "pengzhanbo <q942450674@outlook.com> (https://github.com/pengzhanbo/)",
|
|
7
7
|
"license": "MIT",
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"vue": "^3.5.0"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"vitepress-plugin-toolkit": "0.
|
|
36
|
-
"vitepress-tuck": "0.
|
|
35
|
+
"vitepress-plugin-toolkit": "0.3.0",
|
|
36
|
+
"vitepress-tuck": "0.3.0"
|
|
37
37
|
},
|
|
38
38
|
"publishConfig": {
|
|
39
39
|
"access": "public",
|