@mdit-vue/plugin-sfc
Advanced tools
Comparing version 0.10.0 to 0.11.0
@@ -44,6 +44,28 @@ import { PluginWithOptions } from 'markdown-it'; | ||
interface MarkdownSfcBlocks { | ||
/** | ||
* The `<template>` block | ||
*/ | ||
template: SfcBlock | null; | ||
/** | ||
* The common `<script>` block | ||
*/ | ||
script: SfcBlock | null; | ||
/** | ||
* The `<script setup>` block | ||
*/ | ||
scriptSetup: SfcBlock | null; | ||
/** | ||
* All `<script>` blocks. | ||
* | ||
* By default, SFC only allows one `<script>` block and one `<script setup>` block. | ||
* However, some tools may support different types of `<script>`s, so we keep all of them here. | ||
*/ | ||
scripts: SfcBlock[]; | ||
/** | ||
* All `<style>` blocks. | ||
*/ | ||
styles: SfcBlock[]; | ||
/** | ||
* All custom blocks. | ||
*/ | ||
customBlocks: SfcBlock[]; | ||
@@ -50,0 +72,0 @@ } |
{ | ||
"name": "@mdit-vue/plugin-sfc", | ||
"version": "0.10.0", | ||
"version": "0.11.0", | ||
"description": "A markdown-it plugin to help transforming markdown tu vue sfc", | ||
@@ -40,3 +40,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@mdit-vue/types": "0.10.0", | ||
"@mdit-vue/types": "0.11.0", | ||
"@types/markdown-it": "^12.2.3", | ||
@@ -48,3 +48,3 @@ "markdown-it": "^13.0.1" | ||
}, | ||
"gitHead": "94289f16c4e5c5cb24e05016f67bba2241b3ada9" | ||
"gitHead": "6e4f18dacc06e0aa5d3108df8925f6b0aa885150" | ||
} |
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
10721
229
+ Added@mdit-vue/types@0.11.0(transitive)
- Removed@mdit-vue/types@0.10.0(transitive)
Updated@mdit-vue/types@0.11.0