Comparing version 12.0.1 to 13.0.0-alpha.0
{ | ||
"name": "remark", | ||
"version": "12.0.1", | ||
"version": "13.0.0-alpha.0", | ||
"description": "Markdown processor powered by plugins part of the unified collective", | ||
@@ -38,5 +38,5 @@ "license": "MIT", | ||
"dependencies": { | ||
"remark-parse": "^8.0.0", | ||
"remark-stringify": "^8.0.0", | ||
"unified": "^9.0.0" | ||
"remark-parse": "^9.0.0-alpha.0", | ||
"remark-stringify": "^9.0.0-alpha.0", | ||
"unified": "^9.1.0" | ||
}, | ||
@@ -43,0 +43,0 @@ "scripts": { |
111
readme.md
@@ -12,2 +12,3 @@ # remark | ||
[**unified**][unified] processor to parse and serialize Markdown. | ||
Built on [micromark][]. | ||
Powered by [plugins][]. | ||
@@ -26,47 +27,2 @@ Part of the [unified][] collective. | ||
## Sponsors | ||
<!--lint ignore no-html--> | ||
<table> | ||
<tr valign="top"> | ||
<td width="33.33%" align="center" colspan="2"> | ||
<a href="https://www.gatsbyjs.org">Gatsby</a><br>🥇<br><br> | ||
<a href="https://www.gatsbyjs.org"><img src="https://avatars1.githubusercontent.com/u/12551863?s=900&v=4"></a> | ||
</td> | ||
<td width="33.33%" align="center" colspan="2"> | ||
<a href="https://vercel.com">Vercel</a><br>🥇<br><br> | ||
<!--OC has a sharper image--> | ||
<a href="https://vercel.com"><img src="https://images.opencollective.com/vercel/d8a5bee/logo/512.png"></a> | ||
</td> | ||
<td width="33.33%" align="center" colspan="2"> | ||
<a href="https://www.netlify.com">Netlify</a><br><br><br> | ||
<!--OC has a sharper image--> | ||
<a href="https://www.netlify.com"><img src="https://images.opencollective.com/netlify/4087de2/logo/512.png"></a> | ||
</td> | ||
</tr> | ||
<tr valign="top"> | ||
<td width="16.67%" align="center"> | ||
<a href="https://www.holloway.com">Holloway</a><br><br><br> | ||
<a href="https://www.holloway.com"><img src="https://avatars1.githubusercontent.com/u/35904294?s=300&v=4"></a> | ||
</td> | ||
<td width="16.67%" align="center"> | ||
<a href="https://themeisle.com">ThemeIsle</a><br>🥉<br><br> | ||
<a href="https://themeisle.com"><img src="https://twitter-avatar.now.sh/themeisle"></a> | ||
</td> | ||
<td width="16.67%" align="center"> | ||
<a href="https://boostio.co">BoostIO</a><br>🥉<br><br> | ||
<a href="https://boostio.co"><img src="https://avatars1.githubusercontent.com/u/13612118?s=300&v=4"></a> | ||
</td> | ||
<td width="16.67%" align="center"> | ||
<a href="https://expo.io">Expo</a><br>🥉<br><br> | ||
<a href="https://expo.io"><img src="https://avatars1.githubusercontent.com/u/12504344?s=300&v=4"></a> | ||
</td> | ||
<td width="50%" align="center" colspan="2"> | ||
<br><br><br><br> | ||
<a href="https://opencollective.com/unified"><strong>You?</strong></a> | ||
</td> | ||
</tr> | ||
</table> | ||
## Install | ||
@@ -97,3 +53,3 @@ | ||
.use(html) | ||
.process('## Hello world!', function(err, file) { | ||
.process('## Hello world!', function (err, file) { | ||
console.error(report(err || file)) | ||
@@ -125,4 +81,4 @@ console.log(String(file)) | ||
remark() | ||
.data('settings', {commonmark: true, emphasis: '*', strong: '*'}) | ||
.process('_Emphasis_ and __importance__', function(err, file) { | ||
.data('settings', {emphasis: '*', strong: '*'}) | ||
.process('_Emphasis_ and __importance__', function (err, file) { | ||
if (err) throw err | ||
@@ -148,6 +104,4 @@ console.log(String(file)) | ||
remark() | ||
.use({ | ||
settings: {commonmark: true, emphasis: '*', strong: '*'} | ||
}) | ||
.process('_Emphasis_ and __importance__', function(err, file) { | ||
.use({settings: {emphasis: '*', strong: '*'}}) | ||
.process('_Emphasis_ and __importance__', function (err, file) { | ||
if (err) throw err | ||
@@ -192,2 +146,49 @@ console.log(String(file)) | ||
## Sponsor | ||
Support this effort and give back by sponsoring on [OpenCollective][collective]! | ||
<!--lint ignore no-html--> | ||
<table> | ||
<tr valign="middle"> | ||
<td width="20%" align="center" colspan="2"> | ||
<a href="https://www.gatsbyjs.org">Gatsby</a> 🥇<br><br> | ||
<a href="https://www.gatsbyjs.org"><img src="https://avatars1.githubusercontent.com/u/12551863?s=256&v=4" width="128"></a> | ||
</td> | ||
<td width="20%" align="center" colspan="2"> | ||
<a href="https://vercel.com">Vercel</a> 🥇<br><br> | ||
<a href="https://vercel.com"><img src="https://avatars1.githubusercontent.com/u/14985020?s=256&v=4" width="128"></a> | ||
</td> | ||
<td width="20%" align="center" colspan="2"> | ||
<a href="https://www.netlify.com">Netlify</a><br><br> | ||
<!--OC has a sharper image--> | ||
<a href="https://www.netlify.com"><img src="https://images.opencollective.com/netlify/4087de2/logo/256.png" width="128"></a> | ||
</td> | ||
<td width="10%" align="center"> | ||
<a href="https://www.holloway.com">Holloway</a><br><br> | ||
<a href="https://www.holloway.com"><img src="https://avatars1.githubusercontent.com/u/35904294?s=128&v=4" width="64"></a> | ||
</td> | ||
<td width="10%" align="center"> | ||
<a href="https://themeisle.com">ThemeIsle</a><br><br> | ||
<a href="https://themeisle.com"><img src="https://avatars1.githubusercontent.com/u/58979018?s=128&v=4" width="64"></a> | ||
</td> | ||
<td width="10%" align="center"> | ||
<a href="https://boostio.co">BoostIO</a><br><br> | ||
<a href="https://boostio.co"><img src="https://avatars1.githubusercontent.com/u/13612118?s=128&v=4" width="64"></a> | ||
</td> | ||
<td width="10%" align="center"> | ||
<a href="https://expo.io">Expo</a><br><br> | ||
<a href="https://expo.io"><img src="https://avatars1.githubusercontent.com/u/12504344?s=128&v=4" width="64"></a> | ||
</td> | ||
</tr> | ||
<tr valign="middle"> | ||
<td width="100%" align="center" colspan="10"> | ||
<br> | ||
<a href="https://opencollective.com/unified"><strong>You?</strong></a> | ||
<br><br> | ||
</td> | ||
</tr> | ||
</table> | ||
## License | ||
@@ -221,5 +222,5 @@ | ||
[chat-badge]: https://img.shields.io/badge/chat-spectrum-7b16ff.svg | ||
[chat-badge]: https://img.shields.io/badge/chat-discussions-success.svg | ||
[chat]: https://spectrum.chat/unified/remark | ||
[chat]: https://github.com/remarkjs/remark/discussions | ||
@@ -265,1 +266,3 @@ [health]: https://github.com/remarkjs/.github | ||
[sanitize]: https://github.com/rehypejs/rehype-sanitize | ||
[micromark]: https://github.com/micromark/micromark |
@@ -11,8 +11,10 @@ // TypeScript Version: 3.0 | ||
type PartialRemarkOptions = remarkParse.PartialRemarkParseOptions & | ||
remarkStringify.PartialRemarkStringifyOptions | ||
/** | ||
* @deprecated Use `RemarkOptions` instead. | ||
*/ | ||
type PartialRemarkOptions = RemarkOptions | ||
} | ||
declare function remark(): unified.Processor<remark.PartialRemarkOptions> | ||
declare const remark: unified.FrozenProcessor<remark.RemarkOptions> | ||
export = remark |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
9072
19
261
1
+ Added@types/mdast@3.0.15(transitive)
+ Addeddebug@4.3.7(transitive)
+ Addedmdast-util-from-markdown@0.8.5(transitive)
+ Addedmdast-util-to-markdown@0.6.5(transitive)
+ Addedmdast-util-to-string@2.0.0(transitive)
+ Addedmicromark@2.11.4(transitive)
+ Addedms@2.1.3(transitive)
+ Addedremark-parse@9.0.0(transitive)
+ Addedremark-stringify@9.0.1(transitive)
+ Addedzwitch@1.0.5(transitive)
- Removedccount@1.1.0(transitive)
- Removedcharacter-entities-html4@1.1.4(transitive)
- Removedcollapse-white-space@1.0.6(transitive)
- Removedinherits@2.0.4(transitive)
- Removedis-alphanumeric@1.0.0(transitive)
- Removedis-whitespace-character@1.0.4(transitive)
- Removedis-word-character@1.0.4(transitive)
- Removedmarkdown-escapes@1.0.4(transitive)
- Removedmarkdown-table@2.0.0(transitive)
- Removedmdast-util-compact@2.0.1(transitive)
- Removedremark-parse@8.0.3(transitive)
- Removedremark-stringify@8.1.1(transitive)
- Removedstate-toggle@1.0.3(transitive)
- Removedstringify-entities@3.1.0(transitive)
- Removedtrim@0.0.1(transitive)
- Removedtrim-trailing-lines@1.1.4(transitive)
- Removedunherit@1.1.3(transitive)
- Removedunist-util-is@4.1.0(transitive)
- Removedunist-util-remove-position@2.0.1(transitive)
- Removedunist-util-visit@2.0.3(transitive)
- Removedunist-util-visit-parents@3.1.1(transitive)
- Removedvfile-location@3.2.0(transitive)
- Removedxtend@4.0.2(transitive)
Updatedremark-parse@^9.0.0-alpha.0
Updatedunified@^9.1.0