Commit Graph
330 Commits
Author SHA1 Message Date
Tatsunori Uchinoandfisker Cheung 5927216227 fix(markdown): preserve newline around Chinese/Japanese characters not around Korean letters in all proseWrap settings (#20143)
Internal ESLint Plugin Test / Test (push) Canceled after 0s
Lint / Lint (push) Canceled after 0s
Build / Build (push) Canceled after 0s
Prod / Lint (push) Canceled after 0s
Prod / Node.js 14 on MacOS (push) Canceled after 0s
Prod / Node.js 14 on Linux (push) Canceled after 0s
Prod / Node.js 14 on Windows (push) Canceled after 0s
Prod / Node.js 16 on Linux (push) Canceled after 0s
Prod / Node.js 18 on Linux (push) Canceled after 0s
Prod / Node.js 20 on Linux (push) Canceled after 0s
Prod / Node.js 22 on Linux (push) Canceled after 0s
Prod / Node.js 24 on Linux (push) Canceled after 0s
Prod / Node.js 26 on MacOS (push) Canceled after 0s
Prod / Node.js 26 on Windows (push) Canceled after 0s
Prod / [Full Test] Node.js 26 on Linux (push) Canceled after 0s
Prod / Browser(firefox) on Linux (push) Canceled after 0s
Prod / Browser(firefox) on Windows (push) Canceled after 0s
Prod / [Full Test] Browser(chrome) on Linux (push) Canceled after 0s
Prod / CLI (push) Canceled after 0s
Prod / Preview release (push) Canceled after 0s
Release Script Test / Test (push) Canceled after 0s
Dev / Node.js 22 on MacOS (push) Canceled after 0s
Dev / Node.js 22 on Linux (push) Canceled after 0s
Dev / Node.js 22 on Windows (push) Canceled after 0s
Dev / Node.js 26 on MacOS (push) Canceled after 0s
Dev / Node.js 26 on Windows (push) Canceled after 0s
Dev / [Full Test] Node.js 26 on Linux (push) Canceled after 0s
Prod / Build (push) Canceled after 0s
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2026-10-04 11:20:28 +08:00
fisker 124438262b Merge branch 'v3.9.x'
# Conflicts:
#	package.json
#	yarn.lock
2026-09-23 14:39:09 +08:00
fisker Cheung dc7b8968e6 Disable singleDollarTextMath in mdast-util-math (#20140) 2026-09-23 14:24:43 +08:00
fisker 811d268132 Merge branch 'v3.9.x'
# Conflicts:
#	package.json
#	tests/format/markdown/liquid/__snapshots__/format.test.js.snap
#	yarn.lock
2026-09-18 06:02:29 +08:00
Seiyaandfisker 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
Lazizbek Ergashevandfisker Cheung 297117ab77 Fix HTML block indentation drift in markdown list items (#19987)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2026-09-16 15:44:38 +08:00
Bao Nguyenandfisker 0df4e49f14 Fix indentation drift for indented code blocks in list items (#19990)
Co-authored-by: fisker <lionkay@gmail.com>
2026-09-16 15:43:58 +08:00
Austin Serb 9ef216d6f3 Fix Markdown task list indentation drift (#19647)
# Conflicts:
#	tests/format/markdown/list/__snapshots__/format.test.js.snap
2026-09-16 15:43:42 +08:00
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
Lazizbek Ergashevandfisker Cheung 54756273d7 Fix HTML block indentation drift in markdown list items (#19987)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2026-09-12 09:55:29 +08:00
Bao Nguyenandfisker 018faacfdb Fix indentation drift for indented code blocks in list items (#19990)
Co-authored-by: fisker <lionkay@gmail.com>
2026-09-11 05:36:16 +08:00
fcaf991e7f Fix fenced code block in a JS templates (#19908)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2026-09-07 12:17:22 +08:00
fisker Cheung 1f943d88f8 Extract code for markdown code print (#19982) 2026-09-04 17:25:30 +08:00
fisker Cheung a1364d3c3b Fix printDocToString calls (#19983) 2026-09-04 17:25:02 +08:00
fisker Cheungandautofix-ci[bot] d9969c5734 Fix isSetextHeading (#19912)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-08-23 16:13:56 +08:00
fisker Cheung b7cf310ee5 Align characterReferenceRegex with micromark-util-decode-string (#19891) 2026-08-22 06:11:09 +08:00
fisker Cheung 1846ea9fef Simplify printTitle (#19890) 2026-08-19 07:15:07 +08:00
Miodrag Obradovicandfisker 518eb6a18f Fix escaped character in links (#19849)
Co-authored-by: fisker <lionkay@gmail.com>
2026-08-19 06:42:23 +08:00
Miodrag Obradovic 07184252aa Strip blockquote markers from a setext heading's continuation lines (#19878) 2026-08-18 20:35:00 +08:00
24f4220b9f 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-08-17 14:21:57 +08:00
fisker Cheung 16239f3673 Refactor markdown whitspace node print (#19861) 2026-08-16 18:47:24 +08:00
Anders Kaseorgandfisker d753f4563d Avoid corrupting Markdown URL with <, (, \ (v2) (#19482)
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Co-authored-by: fisker <lionkay@gmail.com>
2026-08-15 18:24:23 +08:00
560146e644 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-08-15 10:05:46 +08:00
Konv Suuandfisker ec6dda1fba Print leading thematic break as *** instead of --- (#19839)
Co-authored-by: fisker <lionkay@gmail.com>
2026-08-13 15:21:34 +08:00
Lazizbek Ergashevandfisker 86105b8a7b Preserve single tildes in Markdown (#19739)
Co-authored-by: fisker <lionkay@gmail.com>
2026-07-28 10:29:52 +08:00
Austin Serb 50afb31f2b Fix Markdown task list indentation drift (#19647) 2026-07-17 13:51:31 +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
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 638e4b82c0 Replace logical-assignment-operators with the one from unicorn (#19391) 2026-06-17 06:27:09 +08:00
fisker Cheungandautofix-ci[bot] bd3fd72f44 Enable unicorn/no-negated-array-predicate rule (#19369)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-16 04:56:55 +08:00
fisker Cheungandautofix-ci[bot] 81e5eac947 Enable unicorn/no-useless-boolean-cast rule (#19373)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-16 04:23:52 +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
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
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
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
it-education-md 70c3c2b4f6 Fix markdown newline removal for CJK list-marker false positive (#18867) 2026-03-07 06:04:05 +08:00
renovate[bot]andfisker 1a4f6fe1fd Update ESLint related dependencies (major) (#18907)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2026-03-04 23:22:14 +08:00
fisker Cheung 56860a7c58 Refactor massageAst releated code (#18733) 2026-01-24 11:06:44 +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