@mdit-vue/plugin-frontmatter 0.9.2 → 0.11.1
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.d.ts +4 -4
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import MarkdownIt from 'markdown-it';
|
|
2
|
+
import matter from 'gray-matter';
|
|
3
3
|
|
|
4
|
-
declare type GrayMatterOptions = GrayMatterOption<string, GrayMatterOptions>;
|
|
4
|
+
declare type GrayMatterOptions = matter.GrayMatterOption<string, GrayMatterOptions>;
|
|
5
5
|
/**
|
|
6
6
|
* Options of @mdit-vue/plugin-frontmatter
|
|
7
7
|
*/
|
|
@@ -44,6 +44,6 @@ declare module '@mdit-vue/types' {
|
|
|
44
44
|
*
|
|
45
45
|
* Extract them into env
|
|
46
46
|
*/
|
|
47
|
-
declare const frontmatterPlugin: PluginWithOptions<FrontmatterPluginOptions>;
|
|
47
|
+
declare const frontmatterPlugin: MarkdownIt.PluginWithOptions<FrontmatterPluginOptions>;
|
|
48
48
|
|
|
49
49
|
export { FrontmatterPluginOptions, frontmatterPlugin };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mdit-vue/plugin-frontmatter",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.1",
|
|
4
4
|
"description": "A markdown-it plugin to get markdown frontmatter",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"markdown-it",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"test": "vitest"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@mdit-vue/types": "0.
|
|
41
|
+
"@mdit-vue/types": "0.11.0",
|
|
42
42
|
"@types/markdown-it": "^12.2.3",
|
|
43
43
|
"gray-matter": "^4.0.3",
|
|
44
44
|
"markdown-it": "^13.0.1"
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"publishConfig": {
|
|
47
47
|
"access": "public"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "98828479d07c7bc52d178a00cdb92c166eff09ee"
|
|
50
50
|
}
|