astro/.changeset/little-turtles-sniff.md
JuanM04 679d4395ec
Markdown package improvements (#1954)
* Re-add smartypants

* Updated packages

* Remove all the default plugins if there are either remark or rehype plugins

* Replace deperecated remark-slug with rehype-slug

* Added MarkdownParserResponse type

* Update documentation

* Removed type import from markdown package

* Updated remark-smartypants

* Changelog

* Missed one change

* Split changelogs

* Upgraded some MDX dependencies

* Fix typos in documentation

* Changed CHANGELOG.md package name

* Renamed smartypants
2021-11-22 14:48:00 -06:00

10 lines
575 B
Markdown

---
'@astrojs/markdown-remark': minor
---
- Upgraded dependencies
- Replaced `remark-slug` with `rehype-slug` because [it was deprecated](https://github.com/remarkjs/remark-slug)
- Replaced `@silvenon/remark-smartypants` with `remark-smartypants` because its name was changed
- Disable **all** built-in plugins when custom remark and/or rehype plugins are added
- Removed `remark-footnotes` because [`remark-gfm` now supports footnotes](https://github.com/remarkjs/remark-gfm/releases/tag/3.0.0)
- Re-added `remark-smartypants` and `rehype-slug` to the default plugins list