@mdit-vue/plugin-sfc
Advanced tools
Comparing version 0.9.0 to 0.9.1
@@ -43,2 +43,9 @@ import { PluginWithOptions } from 'markdown-it'; | ||
} | ||
interface MarkdownSfcBlocks { | ||
template: SfcBlock | null; | ||
script: SfcBlock | null; | ||
scriptSetup: SfcBlock | null; | ||
styles: SfcBlock[]; | ||
customBlocks: SfcBlock[]; | ||
} | ||
declare module '@mdit-vue/types' { | ||
@@ -49,9 +56,3 @@ interface MarkdownItEnv { | ||
*/ | ||
sfcBlocks?: { | ||
template: SfcBlock | null; | ||
script: SfcBlock | null; | ||
scriptSetup: SfcBlock | null; | ||
styles: SfcBlock[]; | ||
customBlocks: SfcBlock[]; | ||
}; | ||
sfcBlocks?: MarkdownSfcBlocks; | ||
} | ||
@@ -76,2 +77,2 @@ } | ||
export { SCRIPT_SETUP_TAG_OPEN_REGEXP, SfcBlock, SfcPluginOptions, SfcRegExpMatchArray, TAG_NAME_SCRIPT, TAG_NAME_STYLE, TAG_NAME_TEMPLATE, createSfcRegexp, sfcPlugin }; | ||
export { MarkdownSfcBlocks, SCRIPT_SETUP_TAG_OPEN_REGEXP, SfcBlock, SfcPluginOptions, SfcRegExpMatchArray, TAG_NAME_SCRIPT, TAG_NAME_STYLE, TAG_NAME_TEMPLATE, createSfcRegexp, sfcPlugin }; |
{ | ||
"name": "@mdit-vue/plugin-sfc", | ||
"version": "0.9.0", | ||
"version": "0.9.1", | ||
"description": "A markdown-it plugin to help transforming markdown tu vue sfc", | ||
@@ -52,3 +52,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "4279fc7ac1db0b585ffb395f55a07038af2a7263" | ||
"gitHead": "8f7879b6a317cbae2f28d7f5cf563715387f7089" | ||
} |
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
10191
203