Files
test-repo/tests/format/misc/require-pragma
Titusandsosukesuzuki cca8469388 Add support for MDX 2 comments (#11563)
* 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>
2021-11-17 16:49:19 +09:00
..
2021-04-25 20:01:56 +08:00
2021-04-25 20:01:56 +08:00
2021-04-25 20:01:56 +08:00
2021-04-25 20:01:56 +08:00
2021-04-25 20:01:56 +08:00
2021-04-25 20:01:56 +08:00
2021-04-25 20:01:56 +08:00
2021-04-25 20:01:56 +08:00