@mdit-vue/plugin-toc 0.11.1 → 0.11.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.
- package/dist/index.cjs +0 -2
- package/dist/index.d.ts +1 -1
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -76,7 +76,7 @@ interface TocPluginOptions {
|
|
|
76
76
|
linkClass?: string;
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
-
|
|
79
|
+
type RenderHeadersFn = (headers: MarkdownItHeader[]) => string;
|
|
80
80
|
declare const createRenderHeaders: ({ listTag, listClass, itemClass, linkTag, linkClass, }: Pick<Required<TocPluginOptions>, 'listTag' | 'listClass' | 'itemClass' | 'linkTag' | 'linkClass'>) => RenderHeadersFn;
|
|
81
81
|
|
|
82
82
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mdit-vue/plugin-toc",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.2",
|
|
4
4
|
"description": "A markdown-it plugin to generate table-of-contents that compatible with Vue.js",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"markdown-it",
|
|
@@ -38,16 +38,16 @@
|
|
|
38
38
|
"test": "vitest"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@mdit-vue/shared": "0.11.
|
|
41
|
+
"@mdit-vue/shared": "0.11.2",
|
|
42
42
|
"@mdit-vue/types": "0.11.0",
|
|
43
43
|
"@types/markdown-it": "^12.2.3",
|
|
44
44
|
"markdown-it": "^13.0.1"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"markdown-it-anchor": "^8.6.
|
|
47
|
+
"markdown-it-anchor": "^8.6.6"
|
|
48
48
|
},
|
|
49
49
|
"publishConfig": {
|
|
50
50
|
"access": "public"
|
|
51
51
|
},
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "676ec4ca8704d709e7a47f7f6d41ff3f70dc2356"
|
|
53
53
|
}
|