Commit Graph
86 Commits
Author SHA1 Message Date
Miodrag Obradovic 2158d480ab Strip blockquote markers from a setext heading's continuation lines (#19878) 2026-09-16 15:38:22 +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
b766f660b1 Markdown: Fix liquid flow parsing (#19838)
Co-authored-by: codex <codex@openai.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
Co-authored-by: wanxiankai <xiankai.wan@gmail.com>
Co-authored-by: seiya <20365512+seiyab@users.noreply.github.com>
2026-09-16 15:36:51 +08:00
Lazizbek Ergashevandfisker e546c510dd Preserve single tildes in Markdown (#19739)
Co-authored-by: fisker <lionkay@gmail.com>
2026-09-16 15:33:00 +08:00
Anders Kaseorgandfisker cd54ccc728 Avoid corrupting empty Markdown link with title (#19487)
Co-authored-by: fisker <lionkay@gmail.com>
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2026-07-10 00:04:48 +08:00
e4dd78409f Preserve wiki links with aliases in markdown (#19527)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2026-07-08 16:26:14 +08:00
fisker Cheung a063b6ba1b Clean up markdown "link" test (#19507) 2026-07-06 22:06:49 +08:00
e6e57764f4 Cap ordered list mark at 999,999,999 (#19351)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2026-06-29 20:34:47 +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
Seiyaandfisker ae594b849f Fix mutiline opening inline html tag (#19477)
Co-authored-by: fisker <lionkay@gmail.com>
2026-06-27 17:43:15 +08:00
fisker Cheung ca09efd42c Revert #19150 (#19470) 2026-06-26 20:30:13 +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
1c0cf93b41 Escape unindented indented pseudo setext headers (#19350)
Co-authored-by: fisker <lionkay@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-17 18:16:21 +08:00
fisker Cheung e9aa8e53c4 Enable unicorn/prefer-array-from-map rule (#19376) 2026-06-16 04:40: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
renovate[bot]andfisker Cheung a5ba6d426e Update eslint-plugin-unicorn to v65 (#19303)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2026-06-08 17:50:21 +08:00
8ea698ccc2 Fix blank lines between list items and nested sub-lists being removed in Markdown/MDX (#17857)
Co-authored-by: Tatsunori Uchino <tats.u@live.jp>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2026-06-04 18:21:03 +08:00
fisker Cheung 91f155f7f5 Support formatting LWC syntax in markdown (#19291) 2026-06-04 18:19:19 +08:00
Bingjia Yangandfisker Cheung f941cb6364 Fix extra blank line between a list and an indented code block (#19154)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2026-06-04 01:54:38 +08:00
fisker Cheung 121d0d3dd9 Revert "Fix unstable comments around parenthesized expressions (#19273)" (#19274) 2026-06-03 07:24:36 +08:00
fisker Cheung 794ca266a9 Fix unstable comments around parenthesized expressions (#19273) 2026-06-03 07:09:11 +08:00
Anders Kaseorg 98074bc210 Avoid corrupting empty URL + title, or URL with <, (, \ (#19150)
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2026-06-03 06:11:47 +08:00
Ahmed EL. a3dc357645 Add regression test for list nesting (#19146) (#19244) 2026-06-03 04:02:17 +08:00
82955f1d02 Fix Markdown emphasis near non-breaking space (#19066)
Co-authored-by: Tatsunori Uchino <tats.u@live.jp>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-01 07:17:31 +08:00
Rayan Salhabandcyphercodes 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 Cheungandautofix-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 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
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
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
Seiyaandfisker 99cd3d7426 Improve emoji width measurement (#17813)
Co-authored-by: fisker <lionkay@gmail.com>
2025-09-18 20:12:26 +08:00
renovate[bot]andfisker 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 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
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
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