markdown-it-directive
Advanced tools
Comparing version 1.0.1 to 1.0.3
@@ -286,3 +286,4 @@ 'use strict'; | ||
// avoids "escape melaleuca" like `[\[\\[\\]\]]`. Clever design. | ||
handler(state, content, dests, attrs, contentStart, contentEnd, state.pos, pos); | ||
const isValidContent = handler(state, content, dests, attrs, contentStart, contentEnd, state.pos, pos); | ||
if (isValidContent === false) return false; | ||
} | ||
@@ -378,3 +379,3 @@ | ||
if (!silent) { | ||
handler( | ||
const isValidContent = handler( | ||
state, content, contentTitle, inlineContent, dests, attrs, | ||
@@ -386,2 +387,3 @@ startLine + 1, nextLine - 1, | ||
); | ||
if (isValidContent === false) return false; | ||
} | ||
@@ -388,0 +390,0 @@ |
{ | ||
"name": "markdown-it-directive", | ||
"version": "1.0.1", | ||
"version": "1.0.3", | ||
"description": "Directive extension for markdown-it markdown parser.", | ||
@@ -28,4 +28,4 @@ "main": "index.js", | ||
"dependencies": { | ||
"markdown-it": "^10.0.0" | ||
"markdown-it": "^11.0.0" | ||
} | ||
} |
@@ -0,0 +0,0 @@ # markdown-it-directive |
@@ -0,0 +0,0 @@ # markdown-it-directive |
@@ -0,0 +0,0 @@ 'use strict'; |
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
40125
672
+ Addedlinkify-it@3.0.3(transitive)
+ Addedmarkdown-it@11.0.1(transitive)
- Removedlinkify-it@2.2.0(transitive)
- Removedmarkdown-it@10.0.0(transitive)
Updatedmarkdown-it@^11.0.0