Update remark parse v8#8140
Update remark parse v8#8140alexander-akait merged 68 commits intoprettier:masterfrom sarayourfriend:update-remark-parse-v8
Conversation
|
Thanks for taking this over, hope you can make it work. Some |
| [This link](http://example.com) has no title attr. | ||
|
|
||
| This is [an example][id] reference-style link. | ||
| This is [an example] [id] reference-style link. |
There was a problem hiding this comment.
This change matches the expectation in the commonmark spec: https://spec.commonmark.org/dingus/?text=%5Bfoo%5D%20%5Bbar%5D%0A%0A%5Bbar%5D%3A%20%2Furl%20%22title%22%0A
[an example] and [id] appear as two separate shortcut reference links with a text node between them: https://astexplorer.net/#/gist/d69f5a227e2cbde3f43f0a639bee165c/822b531c252c162faba78e38607db73ef72886d5
Previously they would have appeared as a single full reference style link.
There was a problem hiding this comment.
It sure does! I just pushed an update to include shortcut style links in this test case. I'll add another test case for that issue.
There was a problem hiding this comment.
Thanks. I'm linking that issue to this PR then.
|
The |
|
I'll do today. |
|
#4122 is fixed, need test |
sosukesuzuki
left a comment
There was a problem hiding this comment.
Thank you for your great work!
|
To do after merging: #8630 |
|
Great work! Thanks! |
I had previously opened another branch for this, but noticed that @fisker had already done a good deal of work to resolve some of the issues with upgrading remark-parse, so based my branch off of theirs.
docs/directory)changelog_unreleased/*/pr-XXXX.mdfile followingchangelog_unreleased/TEMPLATE.md.✨Try the playground for this PR✨
Or try this branch locally:
npm install saramarcondes/prettier#update-remark-parse-v8