* Add support for MDX 2 comments This adds support for MDX 2 comments (which are the same as other comments inside JSX) in addition to MDX 1 comments (HTML-like constructs). Related to GH-10706. Related to wooorm/xdm#61. * Fix blank line before comment * Add `esComment` to `printer-markdown` * Add embedded test * Remove embedded formatter * Add support for es-comments as blocks & test prettier-ignore comments * Add a test for mdx pragma * Remove duplicate fixture * Add changelog * Add note clarifying support Co-authored-by: sosukesuzuki <aosukeke@gmail.com>
6 lines
164 B
Plaintext
6 lines
164 B
Plaintext
# title
|
|
|
|
{ /* Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. */ }
|
|
|
|
{/* Some more. */}
|