@mdit-vue/shared
Advanced tools
Comparing version 0.11.2 to 0.12.0
@@ -43,2 +43,8 @@ import { MarkdownItHeader } from '@mdit-vue/types'; | ||
/** | ||
* Should allow headers inside nested blocks or not | ||
* | ||
* If set to `true`, headers inside blockquote, list, etc. would also be resolved. | ||
*/ | ||
shouldAllowNested: boolean; | ||
/** | ||
* A custom slugification function | ||
@@ -57,3 +63,3 @@ * | ||
*/ | ||
declare const resolveHeadersFromTokens: (tokens: Token[], { level, shouldAllowHtml, shouldEscapeText, slugify, format, }: ResolveHeadersOptions) => MarkdownItHeader[]; | ||
declare const resolveHeadersFromTokens: (tokens: Token[], { level, shouldAllowHtml, shouldAllowNested, shouldEscapeText, slugify, format, }: ResolveHeadersOptions) => MarkdownItHeader[]; | ||
@@ -60,0 +66,0 @@ /** |
{ | ||
"name": "@mdit-vue/shared", | ||
"version": "0.11.2", | ||
"version": "0.12.0", | ||
"description": "Shared utils and types of mdit-vue", | ||
@@ -39,3 +39,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@mdit-vue/types": "0.11.0", | ||
"@mdit-vue/types": "0.12.0", | ||
"@types/markdown-it": "^12.2.3", | ||
@@ -47,3 +47,3 @@ "markdown-it": "^13.0.1" | ||
}, | ||
"gitHead": "676ec4ca8704d709e7a47f7f6d41ff3f70dc2356" | ||
"gitHead": "986b6023d3460cadefd409cd5d4b6445af3a05bd" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10579
280
+ Added@mdit-vue/types@0.12.0(transitive)
- Removed@mdit-vue/types@0.11.0(transitive)
Updated@mdit-vue/types@0.12.0