Commit Graph
11 Commits
Author SHA1 Message Date
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
Seiya a7ddbdb899 Consitent break for comma seperated value (#16907)
* add softline before root paren group

* add changelog

* make conservative
2024-12-21 15:36:36 +09:00
Seiya 3fd32a0258 Fix rule of fill violations in CSS (#16570) 2024-09-08 18:03:46 +08:00
Klaus Hott Vidalandfisker 16449ce914 renaming jsfmt.spec.js to format.test.js (#16244)
Co-authored-by: fisker <lionkay@gmail.com>
2024-05-06 10:25:10 +08: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
Seiya b267831086 Add test cases about code embedding in markdown that relates to #15909 (#15985) 2024-01-26 20:11:21 +08:00
fisker Cheung 6eda34db44 Test: Rename run_spec to runFormatTest (#15943) 2024-01-19 17:20:24 +08: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
fisker CheungandSosuke Suzuki 6bd81c23b6 Migrate format test to ES Module (#11902)
Co-authored-by: Sosuke Suzuki <aosukeke@gmail.com>
2022-01-04 17:00:25 +08: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
fisker Cheung ece93681f1 Restructure test files (#10415) 2021-04-25 20:01:56 +08:00