Releases: mattjennings/remark-reading-time
Releases · mattjennings/remark-reading-time
Release list
v2.1.0
What's Changed
- Update dependencies to the latest versions by @remcohaszing in #6
New Contributors
- @remcohaszing made their first contribution in #6
Full Changelog: 2.0.2...v2.1.0
v2.0.2
- Upgrade
estree-util-value-to-estreedependency to fix security warnings by @dimaMachina in #4
2.0.1
Thanks to @yordis for doing all the work on this one.
Features
- MDX support
Breaking Changes
readingTimeis no longer stored underdata.fm.readingTimeof output, instead justdata.readingTime- If you were using this with mdsvex, this will break compatibility with it. However, they are removing support for unified plugins (remark / rehype), so it soon won't matter anyway. You can stay on v1 of
remark-reading-timefor the time being.
- If you were using this with mdsvex, this will break compatibility with it. However, they are removing support for unified plugins (remark / rehype), so it soon won't matter anyway. You can stay on v1 of
- Follows standard remark config syntax for passing in parameters:
// old
remark().use(remarkReadingTime({ attribute: 'something' }))
// new
remark().use(remarkReadingTime, { attribute: 'something' })