New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade to remark-parse@9+ #11828
Comments
I've opened up a WIP branch that uses the latest |
Removed from v3 milestone, we'll continue work on it after v3 release. |
Hey there, I'm hoping to see if there's any progress on this issue. This is unfortunately a critical bug that is preventing us from properly adopting Prettier for all of MDN Web Docs documentation (especially in the localized content). The issue I mentioned in #15032 is only one part of the problem. We're also running into issues with underscores/asterisks inside of links being replaced with the opposite symbol (which is a MUCH worse issue). |
I'm trying to upgrade remark-parse. Re-implementing some in-house plugins like liquid and frontmatter looks feasible. |
|
A micromark member also suggests turning |
Prettier currently uses
remark-parse@8
to parse Markdown/MDX.remark-parse@9
was released on Oct 14, 2020, switching it over tomicromark
: remarkjs/remark#536Upgrading 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.The text was updated successfully, but these errors were encountered: