@mdit-vue/plugin-toc 0.3.0 → 0.3.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/CHANGELOG.md CHANGED
@@ -3,6 +3,12 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [0.3.1](https://github.com/mdit-vue/mdit-vue/compare/v0.3.0...v0.3.1) (2022-06-25)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **plugin-toc:** export types ([310320e](https://github.com/mdit-vue/mdit-vue/commit/310320eb12087b0296ed8840b5d581887568b15f))
11
+
6
12
  # [0.3.0](https://github.com/mdit-vue/mdit-vue/compare/v0.2.0...v0.3.0) (2022-06-25)
7
13
 
8
14
  ### Features
package/dist/index.d.ts CHANGED
@@ -80,4 +80,4 @@ declare const createTocBlockRule: ({ pattern, containerTag, containerClass, }: P
80
80
  */
81
81
  declare const tocPlugin: PluginWithOptions<TocPluginOptions>;
82
82
 
83
- export { createRenderHeaders, createTocBlockRule, tocPlugin };
83
+ export { TocPluginOptions, createRenderHeaders, createTocBlockRule, tocPlugin };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mdit-vue/plugin-toc",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "A markdown-it plugin to generate table-of-contents that compatible with Vue.js",
5
5
  "keywords": [
6
6
  "markdown-it",
@@ -47,5 +47,5 @@
47
47
  "publishConfig": {
48
48
  "access": "public"
49
49
  },
50
- "gitHead": "bcbfd4705d747ee71d6c7c32f8be6155261e9c90"
50
+ "gitHead": "329b3e1c4b874ad07e838a93968ecbac3a333253"
51
51
  }
package/src/index.ts CHANGED
@@ -1,3 +1,4 @@
1
1
  export * from './create-render-headers';
2
2
  export * from './create-toc-block-rule';
3
3
  export * from './toc-plugin';
4
+ export * from './types';
package/src/types.ts CHANGED
@@ -1,7 +1,6 @@
1
1
  /**
2
2
  * Options of @mdit-vue/plugin-toc
3
3
  */
4
-
5
4
  export interface TocPluginOptions {
6
5
  /**
7
6
  * The pattern serving as the TOC placeholder in your markdown