17 Commits
Author SHA1 Message Date
fisker c4905e5be9 Clean changelog_unreleased 2025-11-27 16:31:35 +08:00
87d905e0bc Fix MDX import and export parsing (#17996)
Co-authored-by: fisker <lionkay@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-29 23:46:36 +08:00
Sosuke Suzuki 9c45de6842 Clean changelog 2022-11-23 14:11:13 +09:00
2bbbe1a8d1 Improve MDX range ignore support (#12208)
Co-authored-by: Nick Rutten <nickrttn@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-09-28 10:02:17 +08:00
sosukesuzuki 7fc196e96b Clean changelog_unreleased 2021-11-25 23:12:16 +09:00
04aa850fde Add 2.5 blog (#11823)
* Mark highlights

* Update intro

* Draft

* Update changelog

* Update changelog

* Regenerate draft

* Update TS 4.5 blog URL

* Regenerate draft

* Fix by prettier

* Fix

* Remove changelogs released already

* Address review

* Update

* Regenerate draft

* Regenerate draft

* Regenerate

* Update changelog_unreleased/typescript/11515.md

Co-authored-by: Jed Fox <git@jedfox.com>

* Update changelog_unreleased/typescript/11721.md

Co-authored-by: Jed Fox <git@jedfox.com>

* Update changelog_unreleased/mdx/11563.md

Co-authored-by: Jed Fox <git@jedfox.com>

* Update changelog_unreleased/mdx/11563.md

Co-authored-by: Jed Fox <git@jedfox.com>

* Update website/blog/2021-11-21-2.5.0.md

Co-authored-by: Jed Fox <git@jedfox.com>

* Update website/blog/2021-11-21-2.5.0.md

Co-authored-by: Jed Fox <git@jedfox.com>

* Regenerate

* Address reviews

* Regenerate

* Use examples

* Regenerate

* Address review

* Renegrate

* Address review

* Regenerate

* MDX 2 comments => MDX v2 comment syntax

* Fix

* Update changelog_unreleased/blog-post-intro.md

Co-authored-by: Lucas Azzola <derflatulator@gmail.com>

* Update changelog_unreleased/typescript/11721.md

Co-authored-by: Lucas Azzola <derflatulator@gmail.com>

* Regenerate

* Update changelog_unreleased/typescript/11515.md

Co-authored-by: Jed Fox <git@jedfox.com>

* Regenerate

* Address review

* Regenerate

* Address review

* Regenerate

Co-authored-by: Jed Fox <git@jedfox.com>
Co-authored-by: Lucas Azzola <derflatulator@gmail.com>
2021-11-25 23:04:16 +09:00
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
sosukesuzuki 28cc1908fd Clean changelog_unreleased 2020-11-20 14:01:22 +09:00
Georgii Dolzhykov d6858d52ad Changelog edits for 2.2 (#9603) 2020-11-05 13:07:29 +09:00
fisker Cheung 50eeaadeca MDX: fix JSX format (#9267) 2020-09-27 08:46:19 +08:00
Georgii Dolzhykov 8f7164fdf4 clean changelog_unreleased 2020-03-21 22:41:36 +02:00
Georgii DolzhykovandJed Fox 8334610aa2 Blog post for 2.0 (#7417)
* add a script that concatenates changelog_unreleased into a blog post draft

* syntax highlighting issues

* generate post draft

* Copy edit, remove error stacks

* Update 2020-00-00-2.0.0.md

* Update changelog source files

* edit entries, regenerate the post

* add lost file in versioned_docs

Co-authored-by: Jed Fox <git@twopointzero.us>
2020-03-21 22:24:23 +02:00
Georgii Dolzhykov a6563fa584 edit changelog entries 2020-02-24 23:03:55 +02:00
fisker Cheung da8d082ce0 Add changelog lint script (#7320)
* Add changelog lint script

* Refactor lint script

* spell

* Fix indent

* fix templateComment

* add H4 check

* Add category in title check

* use array destructuring

* Add space check
2020-01-15 19:25:55 +02:00
JounQin 257fba9b30 fix: format JSX Fragment correctly, consider Fragment as block (#6398) 2019-11-18 13:06:48 +02:00
Gustav Tiger e76ce2725b Fix MDX html parsing errors (#6949)
* Fix MDX html parsing errors

For MDX wrap JSX parsing in a fragment before sending it of to babel for
parsing and formatting. In MDX adjacent JSX tags are permitted in the
root.

An option sent to the babel parser omits printing the root fragment and
instead just prints its children.

Solves #6943

* an attempt to address JounQin's comments

* use <$>...</$> instead of <>...</>

* refactoring
2019-11-15 12:01:58 +02:00
Simon Lydell 4eb3e2650a Blog post, changelog and docs for 1.19 (#6787) 2019-11-09 01:23:57 +01:00