mdast-util-gfm-strikethrough
Advanced tools
Comparing version 0.1.0 to 0.2.0
{ | ||
"name": "mdast-util-gfm-strikethrough", | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"description": "mdast extension to parse and serialize GFM strikethrough", | ||
@@ -38,7 +38,7 @@ "license": "MIT", | ||
"dependencies": { | ||
"mdast-util-to-markdown": "^0.2.0" | ||
"mdast-util-to-markdown": "^0.3.0" | ||
}, | ||
"devDependencies": { | ||
"mdast-util-from-markdown": "^0.3.0", | ||
"micromark-extension-gfm-strikethrough": "^0.1.0", | ||
"mdast-util-from-markdown": "^0.5.0", | ||
"micromark-extension-gfm-strikethrough": "^0.4.0", | ||
"nyc": "^15.0.0", | ||
@@ -45,0 +45,0 @@ "prettier": "^2.0.0", |
@@ -15,3 +15,3 @@ # mdast-util-gfm-strikethrough | ||
When parsing (`from-markdown`), must be combined with | ||
[`micromark-extension-gfm-strikethrough`][extension-strikethrough]. | ||
[`micromark-extension-gfm-strikethrough`][extension]. | ||
@@ -36,3 +36,3 @@ You probably shouldn’t use this package directly, but instead use `remark-gfm` | ||
var toMarkdown = require('mdast-util-to-markdown') | ||
var strikethroughSyntax = require('micromark-extension-gfm-strikethrough') | ||
var syntax = require('micromark-extension-gfm-strikethrough') | ||
var strikethrough = require('mdast-util-gfm-strikethrough') | ||
@@ -43,3 +43,3 @@ | ||
var tree = fromMarkdown(doc, { | ||
extensions: [strikethroughSyntax], | ||
extensions: [syntax()], | ||
mdastExtensions: [strikethrough.fromMarkdown] | ||
@@ -103,3 +103,3 @@ }) | ||
— the smallest commonmark-compliant markdown parser that exists | ||
* [`micromark/micromark-extension-gfm-strikethrough`][extension-strikethrough] | ||
* [`micromark/micromark-extension-gfm-strikethrough`][extension] | ||
— micromark extension to parse GFM strikethrough | ||
@@ -175,2 +175,2 @@ * [`syntax-tree/mdast-util-from-markdown`][from-markdown] | ||
[extension-strikethrough]: https://github.com/micromark/micromark-extension-gfm-strikethrough | ||
[extension]: https://github.com/micromark/micromark-extension-gfm-strikethrough |
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
8723
+ Addedmdast-util-to-markdown@0.3.2(transitive)
- Removedmdast-util-to-markdown@0.2.0(transitive)