Seiya and fisker
5ec8db1745
[3.9.x] Markdown: Don't let Liquid objects interrupt paragraphs ( #20087 )
...
Co-authored-by: fisker <lionkay@gmail.com >
2026-09-18 05:02:50 +08:00
ca76fda52d
Improve > handling in blockquote in Markdown ( #19802 )
...
Co-authored-by: codex <codex@openai.com >
Co-authored-by: fisker Cheung <lionkay@gmail.com >
Co-authored-by: fisker <lionkay@gmail.com >
2026-09-16 15:37:43 +08:00
Seiya
bd9e11ab41
Correct text identification in liquid syntax ( #19489 )
...
Co-authored-by: fisker <lionkay@gmail.com >
fix #19488 : check corresponding closing token in liquid syntax
fix #19488
2026-06-29 19:10:31 +08:00
Seiya and fisker
ae594b849f
Fix mutiline opening inline html tag ( #19477 )
...
Co-authored-by: fisker <lionkay@gmail.com >
2026-06-27 17:43:15 +08:00
bf3ca0c886
Markdown: Fix parse error in liquid plugin ( #19411 )
...
Co-authored-by: Codex <noreply@openai.com >
Co-authored-by: fisker Cheung <lionkay@gmail.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-23 16:04:39 +08:00
Seiya
a322035f4d
Add regression tests for v3.9 milestone ( #19354 )
2026-06-16 01:26:37 +08:00
Seiya
2680e80adb
Add regression tests for Markdown ( #19335 )
2026-06-10 22:32:38 +08:00
Seiya and fisker
6718f74bcd
Consider git worktree as project root ( #18891 )
...
Co-authored-by: fisker <lionkay@gmail.com >
2026-06-04 23:25:21 +08:00
Seiya and fisker
303391a94a
Preserve trailing double spaces in JSDoc ( #18594 )
...
Co-authored-by: fisker <lionkay@gmail.com >
2026-01-13 00:14:18 +08:00
Seiya
f2cfef1ec2
Correct frontmatter length measurement ( #18453 )
2025-12-09 23:22:42 +08:00
Seiya and fisker Cheung
9266e3e85b
Add resolved test cases ( #18358 )
...
Co-authored-by: fisker Cheung <lionkay@gmail.com >
2025-11-29 15:11:52 +08:00
Seiya
8785c6e3af
Extract printWord in Markdown ( #18355 )
...
extract printWord
2025-11-28 16:36:31 +08:00
Seiya
e6e875340b
Add resolved test cases ( #18327 )
2025-11-27 01:44:53 +08:00
Seiya and fisker Cheung
e2ed914e02
Extract some print functions in markdown ( #18321 )
...
Co-authored-by: fisker Cheung <lionkay@gmail.com >
2025-11-26 13:49:48 +08:00
Seiya
5e82e9a823
Resolve extra indent for CSS comma separated value after block comment ( #18228 )
2025-11-17 23:01:08 +08:00
Seiya
00e6baa6b5
Remove flaky test ( #18154 )
2025-10-30 22:39:44 +08:00
Seiya and fisker Cheung
9bb9556bb3
Encourage namespace import from prettier ( #17928 )
...
Co-authored-by: fisker Cheung <lionkay@gmail.com >
2025-09-20 19:31:14 +08:00
Seiya and fisker Cheung
a068b80168
Update doc about utils for plugin authors ( #17919 )
...
Co-authored-by: fisker Cheung <lionkay@gmail.com >
2025-09-19 12:32:48 +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
Seiya
b9de3bf3a3
Resolve ESLint warning ( #17814 )
2025-08-25 13:30:47 +08:00
Seiya and fisker
42d733b8cb
Improve .prettierignore file ( #17632 )
...
Co-authored-by: fisker <lionkay@gmail.com >
2025-06-23 08:15:40 +08:00
Seiya and autofix-ci[bot]
84ee9016ba
Get JSX in arrow in method call to be consistent ( #17616 )
...
* add failing test
* fix #17489
* add more tests
* refactor ...but perhaps get ugly? I'm not sure
* Apply automated changes
* utilize path.match
* add changelog
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-06-22 00:51:13 +09:00
Seiya
46a55c1feb
Resolve Node.js deprecation DEP0178 ( #17633 )
2025-06-21 22:10:03 +08:00
Seiya and fisker Cheung
97d8115d18
Resolve rule of fill violation in JSX and add assertion. ( #16700 )
...
* add stricter assertion into fill()
* resolve rule of fill issue. some comments and naming can be problematic.
* cleanup
* update comments
* rename printWhitespace -> printStringOrLine
* refine isValidSeparator() a bit
* remove FIXME comment for fixed issue
* fix idempotency problem in MDX
* add changelog
* rename assertDocFill() -> assertDocFillParts()
* add test for assertDocFillParts()
* replace cleanDoc(doc) === "" by isEmptyDoc(doc)
* Update src/document/utils/assert-doc.js
Co-authored-by: fisker Cheung <lionkay@gmail.com >
---------
Co-authored-by: fisker Cheung <lionkay@gmail.com >
2025-01-21 13:09:32 +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
e13614ffd8
Correct fit() for fill() ( #16899 )
...
* add test for #16897
this test fails at this commit.
snapshots are taken at e3b8a16c7f
* Fix #16897
* add changelog
* omit redundant test case
2024-12-01 19:00:35 +09:00
Seiya
94fa86e164
loosen computational complexty check for printing fill ( #16708 )
2024-09-30 15:37:36 +08:00
Seiya
14d7f1536f
Fix rule of fill violations in utils and tests ( #16656 )
2024-09-27 17:59:35 +08:00
Seiya
3fd32a0258
Fix rule of fill violations in CSS ( #16570 )
2024-09-08 18:03:46 +08:00
Seiya
206792ef62
Fix invalid fill in HTML ( #16585 )
2024-08-24 08:25:17 +09:00
Seiya
c921abee76
Improve computational time complexity for printing fill() ( #16595 )
2024-08-24 08:23:59 +09:00
Seiya
33b0865f40
Correct invalid scss test input ( #16579 )
2024-08-17 01:29:50 +08:00
Seiya
e977d65b19
Fix incorrect wrap in sentence with linkReference ( #16546 )
2024-08-10 00:27:47 +01: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
Seiya and fisker Cheung
82db5fcd0d
Somewhat improve conditional type alias ( #15811 )
...
Co-authored-by: fisker Cheung <lionkay@gmail.com >
2023-12-28 23:46:34 +09:00
Seiya and fisker Cheung
224f70fb09
Stabilize member chain with empty line ( #15522 )
...
Co-authored-by: fisker Cheung <lionkay@gmail.com >
2023-12-13 16:12:03 +08:00
Seiya
c609058fd3
Support (type) satisfies never; ( #15514 )
2023-10-16 16:04:28 +09:00
Seiya
bf0b3040be
Break after equal on assignment if rhs is await/yield expression ( #15204 )
...
* add as-is test
* break after equal on assignment if rhs is wait
Discussion: #15196
* rename test file
* add as-is test
* treat YieldExpression
* add tests
* add changelog
* fix a bug
* add test for delegated yield
2023-08-06 13:02:40 +09:00
Seiya and fisker Cheung
7f64e920de
Make curried arrow function and normal arrow function consistent ( #14633 )
...
Co-authored-by: fisker Cheung <lionkay@gmail.com >
2023-04-27 11:01:35 +08:00
Seiya and fisker Cheung
9500403c1d
Fix a bug: css urls are incorrectly stripped of commas ( #14476 )
...
Co-authored-by: fisker Cheung <lionkay@gmail.com >
2023-03-29 09:12:38 +08:00
Seiya and fisker
1bf47c1e95
Format TS expressions when any script tag has lang="ts" ( #14587 )
...
Co-authored-by: fisker <lionkay@gmail.com >
2023-03-27 10:47:54 +08:00
Seiya and fisker
e154250e19
Format TypeScript expressions in Vue template attributes ( #14506 )
...
Co-authored-by: fisker <lionkay@gmail.com >
2023-03-24 09:10:49 +08:00
921eaf4690
Break on TypeScript parameter properties ( #14402 )
...
* add test for parameter properties
* break parameters for TypeScript parameter properties
ISSUE: #5666
* add a test pattern
* add changelog
* use getFunctionParameters
* Fix bad rebase
* Rename variables
* More tests
* Rename variable
* Fix snapshots
* Fix changelog
---------
Co-authored-by: fisker Cheung <lionkay@gmail.com >
Co-authored-by: Sosuke Suzuki <sosuke.suzuki@dr-ubie.com >
2023-03-12 00:06:39 +09:00