prettier/prettier

Upgrade to remark-parse@9+

Geschlossen

#11.828 geöffnet am 17.11.2021

 (10 Kommentare) (9 Reaktionen) (0 zugewiesene Personen)JavaScript (4.981 Forks)batch import
help wantedlang:markdown

Repository-Metriken

Stars
 (52.204 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 6T) (186 gemergte PRs in 30 T)

Beschreibung

Prettier currently uses remark-parse@8 to parse Markdown/MDX. remark-parse@9 was released on Oct 14, 2020, switching it over to micromark: https://github.com/remarkjs/remark/pull/536

Upgrading Prettier to remark-parse@9 (or newer) would fix the following reported bugs with Markdown parsing, and possibly others:

This is a non-trivial task because micromark uses a completely different plugin API, so all of Prettier's Markdown plugins will need to be updated or replaced.

Contributor Guide