Upgrade to latest micromark (markdown only)#18277
Conversation
*only 1 tho
This reverts commit 44b0283.
|
Prettier pr-18277 --parser markdownInput: tex
<em>text</em>

<img alt="OpenWebDocs Logo: Carle the book worm" src="carle.png" />
Output: tex
<em>text</em>

<img alt="OpenWebDocs Logo: Carle the book worm" src="carle.png" />
|
Co-authored-by: fisker <[email protected]>
# Conflicts: # src/language-markdown/clean.js # src/language-markdown/print/mdast.js
|
As a consequence of #18467 Prettier pr-18277 --parser markdownInput: - <div>html</div> text
- <span>html</span> text
Output: - <div>html</div> text
- <span>html</span> text
But without that hack, it formats to Not sure if we should do somthing. |
# Conflicts: # src/language-markdown/embed.js # yarn.lock
| * * * | ||
|
|
||
| =====================================output===================================== | ||
| --- |
There was a problem hiding this comment.
This can potentially change the <hr> to front matter. But I think it's fine to let it go.
Prettier pr-18277
Playground link
--parser markdownInput:
* * *
something: not-front-matter
---Output:
---
something: not-front-matter
---
Second Output:
---
something: not-front-matter
---
|
I plan to merge this PR and continue work on the MDX upgrade. Do you have any work left that you want to finish before I merge? Are you fine with squashing all these changes into one commit? |
I wonder if we need to see loose list item in block quote (seen in MDN integration test).
Yes 😁 |
|
@fisker @seiyab congratulations getting a PR merged in the direction of getting new MDX versions supported! 🙌 🎉 Looking forward to this landing in a Prettier version! cc @wooorm @ChristianMurphy @remcohaszing in case you weren't following along already |
Prettier commit hash is 4f1c4d9eb85fe6afb925cc0d57de7f28e786cabe, before prettier/prettier#18277
Description
Playground
Checklist
docs/directory).changelog_unreleased/*/XXXX.mdfile followingchangelog_unreleased/TEMPLATE.md.