Commit Graph
74 Commits
Author SHA1 Message Date
it-education-md 70c3c2b4f6 Fix markdown newline removal for CJK list-marker false positive (#18867) 2026-03-07 06:04:05 +08:00
Tatsunori Uchinoandfisker 1f678ab02f Treat U+3000 and U+FF5E as CJK punctuation-equivalent in Markdown prose wrap (#18656)
Co-authored-by: fisker <lionkay@gmail.com>
2026-01-18 09:34:45 +08:00
fisker 7ad9d9ae72 Remove released changelogs 2026-01-15 08:11:29 +08:00
6c339cd882 Upgrade to latest micromark (markdown only) (#18277)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
Co-authored-by: fisker <lionkay@gmail.com>
Co-authored-by: Jed Fox <git@jedfox.com>
Co-authored-by: seiya <20365512+seiyab@users.noreply.github.com>
2025-12-26 19:43:49 +08:00
fisker Cheung 64484a41be Support formatting angular syntax in markdown (#18519) 2025-12-25 20:42:58 +08:00
fisker c4905e5be9 Clean changelog_unreleased 2025-11-27 16:31:35 +08:00
A1loandfisker Cheung 7930083cff fix(markdown): fix strong emphasis (#18010)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2025-10-12 20:42:57 +08:00
cd42072105 Support format TOML Front Matter (#17965)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-28 19:36:04 +08:00
Seiyaandfisker 99cd3d7426 Improve emoji width measurement (#17813)
Co-authored-by: fisker <lionkay@gmail.com>
2025-09-18 20:12:26 +08:00
fisker 0b6b58e3ee Clean changelog_unreleased 2025-06-27 10:56:14 +08:00
fisker Cheungandautofix-ci[bot] 46526b49b6 Add missing blank line around code block (#17675)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-06-27 10:48:16 +08:00
fisker f67b32ba66 Clean changelog_unreleased 2025-06-23 10:10:54 +08:00
4bb056842c Fix markdown inserts unexpected newline in lists (#16637)
* 👍 fix Markdown inserts unexpected newline in lists

I fix markdown inserts unexpected newline in lists.

This issue is reported the below link.
https://github.com/prettier/prettier/issues/8004

* 📝 add change log for PR 16637

* 👕 fix lint error for  changelog_unreleased/markdown/16637.md

There is lint error for  changelog_unreleased/markdown/16637.md,
threfore I fix it with 'prettier --write' command.

* 👍 remove template comment for changelog file

* 👍 Remove markdown: from change log title

I remove 'markdown:' from change log title.

* 👍 fix suggested if condition

The suggested condition of the bellow URL is better than current one.
I fix it.

https://github.com/prettier/prettier/pull/16637#discussion_r1919169511

* Update 16637.md

---------

Co-authored-by: fisker Cheung <lionkay@gmail.com>
Co-authored-by: SUZUKI Sosuke <aosukeke@gmail.com>
2025-06-01 02:39:54 +09:00
Florian Diemingerandfisker 91c563e323 Fix adjacent markdown syntax in blockquote (#16596)
Co-authored-by: fisker <lionkay@gmail.com>
2025-03-28 20:00:57 +08:00
Florian Diemingerandfisker Cheung e01a084486 fix(markdown): fix strong emphasis (#17143)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2025-02-26 11:30:48 +09:00
Sosuke Suzuki 3fe8152c5c Clean changelog_unreleased 2025-02-09 20:45:20 +09:00
Tatsunori Uchino 88c210e844 Treat U+FF5E as CJK punctuation (#16832) 2024-12-16 16:26:22 +08:00
fisker 6c7460a5d7 Clean changelog_unreleased 2024-12-04 15:06:20 +08:00
Tatsunori Uchino ac46a4f16e Treat U+30A0 & U+30FB in Katakana Block as CJK (#16796) 2024-11-26 23:52:53 +08:00
Sosuke Suzuki f53791a2c8 Clean changelog_unreleased 2024-11-26 13:53:25 +09:00
Tatsunori Uchinoandfisker Cheung dc8df0ab80 Tell regexp-util to generate regex compatible with u flag (#16816)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2024-11-04 19:39:31 +08:00
Tatsunori UchinoandSUZUKI Sosuke 0a4c1e303f Markdown: Don't break a line at the place around Chinese or Japanese characters (#16691)
Co-authored-by: SUZUKI Sosuke <aosukeke@gmail.com>
2024-10-18 15:03:09 +08:00
Tatsunori Uchinoandfisker Cheung a4be6a0fde Markdown: preserve non-ASCII whitespaces at the end of the line and beginning of the next line (#16619)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2024-09-27 21:07:12 +08:00
6168d1e990 Removed excessive spaces after line prefixes for unordered lists in Markdown (#15526)
Co-authored-by: fisker <lionkay@gmail.com>
Co-authored-by: Alexander Kachkaev <alexander@kachkaev.ru>
2024-09-27 19:58:11 +08:00
Seiya e977d65b19 Fix incorrect wrap in sentence with linkReference (#16546) 2024-08-10 00:27:47 +01:00
fisker cdd480e1b6 Clean changelog_unreleased 2024-06-05 17:23:57 +08:00
fisker Cheung b94811f988 Fix stripTrailingHardline (#16347) 2024-06-04 17:33:09 +08:00
fisker Cheung 590644170e Preserve explicit language in front matter (#16348) 2024-06-04 17:32:50 +08:00
Sosuke Suzuki 2406fee590 Clean changelog_unreleased 2024-06-02 02:04:43 +09:00
Martijn Atema 41f1dffed0 Add newline between markdown footnote definitions (#16063) 2024-05-25 09:15:39 +08:00
Seiya 063978a592 Correct invalid fill() in markdown paragraph print (#16158) 2024-04-06 19:25:30 +09:00
Seiyaandfisker d970deed6b Improve wrapping for codeblock in markdown and jsx in mdx (#15993)
Co-authored-by: fisker <lionkay@gmail.com>
2024-03-20 15:41:38 +09:00
Sosuke Suzuki a3e1be82b6 Clean changelog 2023-11-13 12:04:23 +09:00
Vivek Joshiandfisker Cheung d4d4b185e0 Fix: Encoding < and > in markdown urls (#15400)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2023-10-02 18:00:02 +08:00
Tatsunori Uchino 0661f78a26 Don't split lines between Japanese kana & COMBINING KATAKANA-HIRAGANA (SEMI-)VOICED SOUND MARK (#15411)
* Don't split lines between Japanese kana & COMBINING KATAKANA-HIRAGANA (SEMI-)VOICED SOUND MARK

* Add changelog
2023-09-22 22:30:30 +09:00
Sosuke Suzuki 28578bf0a3 Clean changelog 2023-08-29 21:32:11 +09:00
SUZUKI Sosuke 90fab608ae Do not print trailing commas in arrow function type parameter lists in ts code blocks (#15286)
* Remove trailing comma for `ts` code blocks

* Add changelog

* Support `typescript`

* Update link

* Update tests
2023-08-24 17:02:56 +09:00
Sosuke Suzuki 266344398c Clean changelog 2023-07-06 01:47:41 +09:00
fisker Cheung 0cd7e10447 Merge branch 'main' into next
# Conflicts:
#	docs/browser.md
#	src/language-js/print/literal.js
#	src/language-js/print/misc.js
#	src/language-js/printer-estree.js
#	tests/format/markdown/auto-link/jsfmt.spec.js
#	yarn.lock
2023-01-10 09:38:45 +08:00
Sosuke Suzuki a37ce0b8f6 Clean changelog_unreleased (#14144)
Clean changelog
2023-01-09 16:48:32 +09:00
fisker Cheung daeb90f1ca Merge branch 'main' into next
# Conflicts:
#	package.json
#	src/language-css/printer-postcss.js
#	src/language-handlebars/printer-glimmer.js
#	src/language-markdown/clean.js
#	src/language-markdown/printer-markdown.js
#	yarn.lock
2022-12-15 19:16:59 +08:00
Derek Lewisandfisker Cheung 44db370ca6 Don't lowercase Markdown link definition labels (#13155)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-12-15 14:51:19 +08:00
fisker Cheung 52fbecc89b Merge branch 'main' into next
# Conflicts:
#	docs/browser.md
#	package.json
#	yarn.lock
2022-11-23 19:44:31 +08:00
Sosuke Suzuki 9c45de6842 Clean changelog 2022-11-23 14:11:13 +09:00
Tatsunori Uchino ebb8e13282 Markdown: improve whitespace handling in CJK (#11597) 2022-10-19 11:40:59 +03:00
Alexander Kachkaev 8df3b5ee60 Markdown: Preserve multiple spaces in inline code (#13590) 2022-10-14 10:58:03 +03:00
Anders Kaseorg f38111fec6 markdown: Preserve inline code line breaks if --prose-wrap=preserve (#11373) 2022-10-09 16:53:12 +03: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
Sosuke Suzuki 7c6d0e462b Keep trailing commas for type parameters in embedded TSX (#11685)
* Keep trailing comma for embedded tsx

* Fix

* Add changelog

* Use dummy filepath
2021-10-19 16:15:05 +09:00