remark-directive-rehype
Advanced tools
Comparing version 0.3.0 to 0.4.0
{ | ||
"name": "remark-directive-rehype", | ||
"version": "0.3.0", | ||
"version": "0.4.0", | ||
"description": "Remark plugin to enable Markdown directives to be parsed as HTML.", | ||
@@ -39,9 +39,5 @@ "keywords": [ | ||
"mdast-util-from-markdown": "^1.0.4", | ||
"typescript": "^4.4.4" | ||
"typescript": "^4.4.4", | ||
"unified": "^10.1.0" | ||
}, | ||
"peerDependencies": { | ||
"remark-directive": "2.x", | ||
"remark-rehype": "9.x || 10.x", | ||
"unified": "10.x" | ||
}, | ||
"engines": { | ||
@@ -48,0 +44,0 @@ "node": "^12.20.0 || ^14.13.1 || >=16.0.0" |
@@ -7,5 +7,5 @@ # remark-directive-rehype | ||
This package is a [unified][] ([remark][]) plugin to enable Markdown directives to be parsed as | ||
HTML when using [remark-rehype][]. Markdown directives are first parsed with | ||
[remark-directive][] which needs to be used before this plugin. | ||
This package is a [unified][] ([remark][]) plugin to enable Markdown directives to be parsed as HTML | ||
when using [remark-rehype][]. Markdown directives are first parsed with [remark-directive][] | ||
which needs to be used before this plugin. | ||
@@ -22,5 +22,5 @@ **unified** is a project that transforms content with abstract syntax trees | ||
This project is useful when you want directives parsed by [remark-directive][] to be later | ||
parsed as HTML ([hast][] nodes) when using [remark-rehype][]. This is specifically useful when one | ||
wants to convert Markdown directives into HTML tags that can be outputted as components with | ||
This project is useful when you want directives parsed by [remark-directive][] to be later parsed as | ||
HTML ([hast][] nodes) when using [remark-rehype][]. This is specifically useful when one wants to | ||
convert Markdown directives into HTML tags that can be outputted as components with | ||
[remark-markdown][]. | ||
@@ -169,3 +169,3 @@ | ||
.use(rehypeStringify) | ||
.process('~one~ and ~~two~~') | ||
.process(await read('example.md')) | ||
@@ -193,2 +193,4 @@ console.log(String(file)) | ||
[hast]: https://github.com/syntax-tree/hast | ||
[yarn]: https://yarnpkg.com/lang/en/docs/install/ | ||
@@ -195,0 +197,0 @@ |
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
2
203
7004
4