@vuepress/markdown
Advanced tools
Comparing version 2.0.0-beta.27 to 2.0.0-beta.28
import type { RuleBlock } from 'markdown-it/lib/parser_block'; | ||
import type { ImportCodePluginOptions } from './importCodePlugin'; | ||
export declare const createImportCodeBlockRule: ({ handleImportPath, }: ImportCodePluginOptions) => RuleBlock; | ||
export declare const createImportCodeBlockRule: ({ handleImportPath }: ImportCodePluginOptions) => RuleBlock; |
@@ -11,3 +11,3 @@ "use strict"; | ||
const SYNTAX_RE = /^@\[code(?:{(?:(\d+)?-(\d+)?)})?(?: ([^\]]+))?\]\(([^)]*)\)/; | ||
const createImportCodeBlockRule = ({ handleImportPath = (str) => str, }) => (state, startLine, endLine, silent) => { | ||
const createImportCodeBlockRule = ({ handleImportPath = (str) => str }) => (state, startLine, endLine, silent) => { | ||
// if it's indented more than 3 spaces, it should be a code block | ||
@@ -14,0 +14,0 @@ /* istanbul ignore if */ |
{ | ||
"name": "@vuepress/markdown", | ||
"version": "2.0.0-beta.27", | ||
"version": "2.0.0-beta.28", | ||
"description": "Markdown package of VuePress", | ||
@@ -30,4 +30,4 @@ "keywords": [ | ||
"@types/markdown-it": "^12.2.3", | ||
"@vuepress/shared": "2.0.0-beta.27", | ||
"@vuepress/utils": "2.0.0-beta.27", | ||
"@vuepress/shared": "2.0.0-beta.28", | ||
"@vuepress/utils": "2.0.0-beta.28", | ||
"markdown-it": "^12.2.0", | ||
@@ -41,3 +41,3 @@ "markdown-it-anchor": "^8.4.1", | ||
}, | ||
"gitHead": "2671a94fe6864e215eb84f318b7e657744a0bc5d" | ||
"gitHead": "71c34816a79263c7dcba3ff0c103e264abdbf0d2" | ||
} |
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
72321
+ Added@vuepress/shared@2.0.0-beta.28(transitive)
+ Added@vuepress/utils@2.0.0-beta.28(transitive)
- Removed@vuepress/shared@2.0.0-beta.27(transitive)
- Removed@vuepress/utils@2.0.0-beta.27(transitive)