@mdit-vue/plugin-title 0.7.1 → 0.9.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/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  A [markdown-it](https://github.com/markdown-it/markdown-it) plugin to get page title.
7
7
 
8
- - Extract title (the content of the first level-1 heading) into markdown-it `env.title`.
8
+ - Extracts title (the content of the first level-1 heading) into markdown-it `env.title`.
9
9
 
10
10
  ## Install
11
11
 
package/dist/index.d.ts CHANGED
@@ -1,5 +1,12 @@
1
1
  import { PluginSimple } from 'markdown-it';
2
2
 
3
+ /**
4
+ * Get markdown page title info
5
+ *
6
+ * Extract it into env
7
+ */
8
+ declare const titlePlugin: PluginSimple;
9
+
3
10
  declare module '@mdit-vue/types' {
4
11
  interface MarkdownItEnv {
5
12
  /**
@@ -9,11 +16,4 @@ declare module '@mdit-vue/types' {
9
16
  }
10
17
  }
11
18
 
12
- /**
13
- * Get markdown page title info
14
- *
15
- * Extract it to env
16
- */
17
- declare const titlePlugin: PluginSimple;
18
-
19
19
  export { titlePlugin };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mdit-vue/plugin-title",
3
- "version": "0.7.1",
3
+ "version": "0.9.1",
4
4
  "description": "A markdown-it plugin to get markdown page title",
5
5
  "keywords": [
6
6
  "markdown-it",
@@ -37,8 +37,8 @@
37
37
  "test": "vitest"
38
38
  },
39
39
  "dependencies": {
40
- "@mdit-vue/shared": "0.7.1",
41
- "@mdit-vue/types": "0.7.1",
40
+ "@mdit-vue/shared": "0.9.1",
41
+ "@mdit-vue/types": "0.9.0",
42
42
  "@types/markdown-it": "^12.2.3",
43
43
  "markdown-it": "^13.0.1"
44
44
  },
@@ -47,10 +47,10 @@
47
47
  "c8": "^7.12.0",
48
48
  "markdown-it-emoji": "^2.0.2",
49
49
  "unbuild": "^0.7.6",
50
- "vitest": "^0.18.1"
50
+ "vitest": "^0.19.1"
51
51
  },
52
52
  "publishConfig": {
53
53
  "access": "public"
54
54
  },
55
- "gitHead": "b4b8bc6c054ea2dd9ad9ec7a37a58b5a2147b2bd"
55
+ "gitHead": "8f7879b6a317cbae2f28d7f5cf563715387f7089"
56
56
  }