Rayan Salhab and cyphercodes
239e3b7a2f
Add regression test for multiline setext headings ( #19155 )
...
Co-authored-by: cyphercodes <cyphercodes@users.noreply.github.com >
2026-05-19 04:26:45 +08:00
it-education-md
70c3c2b4f6
Fix markdown newline removal for CJK list-marker false positive ( #18867 )
2026-03-07 06:04:05 +08:00
fisker Cheung
5017d66ea7
Test: Update printWidth indicator ( #10293 )
2026-01-31 03:45:41 +08:00
fisker Cheung and autofix-ci[bot]
696134156c
Improve stripComments ( #18774 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-29 09:39:41 +08:00
fisker Cheung
495ed200ae
Exclude semicolon from range of ExpressionStatement ( #18736 )
2026-01-24 16:14:17 +08:00
fisker Cheung
4531e18f75
Exclude semicolon from range of VariableDeclaration ( #18734 )
2026-01-24 13:42:03 +08:00
Tatsunori Uchino and fisker
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
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 Cheung
c9eb4bcd9e
Remove useless u flags in regular expressions ( #18509 )
2025-12-21 23:44:08 +08:00
Seiya
f2cfef1ec2
Correct frontmatter length measurement ( #18453 )
2025-12-09 23:22:42 +08:00
fisker Cheung
8cd31f577c
Add gfm-test-suite ( #18445 )
2025-12-08 10:48:49 +08:00
fisker Cheung
8ee96d64e5
Switch to commonmark-test-suite ( #18444 )
2025-12-08 10:18:39 +08:00
fisker Cheung
ce664cce5c
Add test for commonmark spec ( #18428 )
2025-12-06 00:24:51 +08:00
Yusril A
0da474ed1d
Update json schema store url to latest ( #18225 )
2025-11-17 02:44:44 +08:00
A1lo and fisker Cheung
7930083cff
fix(markdown): fix strong emphasis ( #18010 )
...
Co-authored-by: fisker Cheung <lionkay@gmail.com >
2025-10-12 20:42:57 +08:00
Seiya and fisker
99cd3d7426
Improve emoji width measurement ( #17813 )
...
Co-authored-by: fisker <lionkay@gmail.com >
2025-09-18 20:12:26 +08:00
renovate[bot] and fisker
a6bbdad8ca
chore(deps): update dependency jest to v30.1.1 ( #17819 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com >
2025-08-30 15:36:22 +08:00
fisker Cheung and autofix-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
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 Dieminger and fisker
91c563e323
Fix adjacent markdown syntax in blockquote ( #16596 )
...
Co-authored-by: fisker <lionkay@gmail.com >
2025-03-28 20:00:57 +08:00
fisker Cheung
2b3710d805
Fix embedded format with cursorOffset ( #17254 )
2025-03-17 11:23:17 +08: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
Tatsunori Uchino
88c210e844
Treat U+FF5E as CJK punctuation ( #16832 )
2024-12-16 16:26:22 +08:00
Tatsunori Uchino
ac46a4f16e
Treat U+30A0 & U+30FB in Katakana Block as CJK ( #16796 )
2024-11-26 23:52:53 +08:00
Tatsunori Uchino and fisker 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 Uchino and SUZUKI 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 Uchino and fisker 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
3fd32a0258
Fix rule of fill violations in CSS ( #16570 )
2024-09-08 18:03:46 +08:00
Seiya
e977d65b19
Fix incorrect wrap in sentence with linkReference ( #16546 )
2024-08-10 00:27:47 +01:00
Martijn Atema
41f1dffed0
Add newline between markdown footnote definitions ( #16063 )
2024-05-25 09:15:39 +08:00
Klaus Hott Vidal and fisker
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
Seiya
063978a592
Correct invalid fill() in markdown paragraph print ( #16158 )
2024-04-06 19:25:30 +09:00
Seiya and fisker
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
d631cc9907
Add tests of edge cases around liquid ( #16078 )
2024-02-16 22:22:27 +08: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
fisker Cheung
1dc924f2f2
Add jsonc parser ( #15831 )
2024-01-02 10:59:34 +08:00
Mark Amery
1e30f66f39
Remove claim, untrue since over 5 years ago, that cursorOffset is incompatible with rangeStart/rangeEnd ( #15750 )
2023-12-08 16:35:02 +02:00
Arnaud
457e83a725
docs: update the JSON schema location to use https ( #15674 )
2023-11-18 15:51:29 +09:00
Vivek Joshi and fisker 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
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
fa48415617
Bump Prettier dependency to 3.0.0
2023-07-05 21:50:05 +09:00
fisker Cheung
b164d42ea6
Fix
2022-12-15 19:32:24 +08: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 Lewis and fisker 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
f9a71da439
Add CodeQL Analysis workflow ( #13851 )
2022-11-20 15:35:24 +08:00
Tatsunori Uchino
ebb8e13282
Markdown: improve whitespace handling in CJK ( #11597 )
2022-10-19 11:40:59 +03:00