@md-plugins/md-plugin-headers
Advanced tools
Comparing version
@@ -35,2 +35,18 @@ import { PluginWithOptions } from 'markdown-it'; | ||
shouldAllowNested?: boolean; | ||
/** | ||
* Should allow API headers | ||
* | ||
* If set to `true`, headers for `<MarkdownAPI>` title would also be extracted. | ||
* | ||
* @default true | ||
*/ | ||
shouldAllowApi?: boolean; | ||
/** | ||
* Should allow Example headers | ||
* | ||
* If set to `true`, headers for `<MarkdownExample>` title would also be extracted. | ||
* | ||
* @default true | ||
*/ | ||
shouldAllowExample?: boolean; | ||
} | ||
@@ -37,0 +53,0 @@ interface TocItem { |
{ | ||
"name": "@md-plugins/md-plugin-headers", | ||
"version": "0.1.0-alpha.26", | ||
"version": "0.1.0-alpha.27", | ||
"description": "A markdown-it plugin for handling headers (H1-H6).", | ||
@@ -38,3 +38,3 @@ "keywords": [ | ||
"@types/markdown-it": "^14.1.2", | ||
"@md-plugins/shared": "0.1.0-alpha.26" | ||
"@md-plugins/shared": "0.1.0-alpha.27" | ||
}, | ||
@@ -41,0 +41,0 @@ "peerDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
13138
7.85%144
16.13%