Visitar URL original
Improve `>` handling in blockquote in Markdown by seiyab · Pull Request #19802 · prettier/prettier · GitHub
Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
a8174bb
test cases reported in #19528
seiyab Aug 4, 2026
8318a7a
cases reported in #19602 and #19726
seiyab Aug 4, 2026
8d4b254
as-is snapshot
seiyab Aug 4, 2026
b4d975d
improvement 1: (maybe) we can utlize raw line for index===0
seiyab Aug 4, 2026
883ef7b
draft fix for #19528
seiyab Aug 4, 2026
a23c63b
add new counterexamples
seiyab Aug 4, 2026
4614506
handle things like >
seiyab Aug 4, 2026
633c8ea
more counterexamples
seiyab Aug 4, 2026
dbfb2c3
utilize blockquote depth
seiyab Aug 5, 2026
d0d4e8f
Add blockquote indentation counterexamples
seiyab Aug 5, 2026
2119b43
improve logic: count `>`-like tokens and subtract
seiyab Aug 6, 2026
5bfb4b4
Add decoded newline blockquote counterexamples
seiyab Aug 6, 2026
7a0c37a
align decoded newlines
seiyab Aug 6, 2026
0bcbb10
add counter example
seiyab Aug 6, 2026
c1dbb69
fix case sensitivity
seiyab Aug 6, 2026
244078f
refactor
seiyab Aug 7, 2026
b65f07d
bug fix
seiyab Aug 7, 2026
b1abfdf
Simplify blockquote marker handling
seiyab Aug 7, 2026
8440b64
Add test for escaped newline entity in blockquote
seiyab Aug 7, 2026
d92375b
Avoid counting escaped newline entities
seiyab Aug 7, 2026
f1ae44a
enhance test case
seiyab Aug 7, 2026
cfa5d85
add changelog
seiyab Aug 7, 2026
6abcf96
reduce dynamic regexp
seiyab Aug 13, 2026
e9a6ad1
typo
seiyab Aug 13, 2026
5fac554
Only test proseWrap:always
fisker Aug 14, 2026
92b1b34
Move preprocess.js
fisker Aug 14, 2026
fff42d6
Extract `getBlockquoteRawText`
fisker Aug 14, 2026
4af98ed
Move preprocess.js back
fisker Aug 14, 2026
f977c9b
Move regular expression to outer
fisker Aug 14, 2026
64ff185
refactor
seiyab Aug 15, 2026
5eaf21b
refactor countValueLeadingGreaterThan()
seiyab Aug 16, 2026
c63c719
add c8 ignore comment
seiyab Aug 16, 2026
2335818
split test case
seiyab Aug 16, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
test cases reported in #19528
  • Loading branch information
seiyab committed Aug 4, 2026
commit a8174bbe15fbbf89a1ffbe2a7b802b03951d2c35
6 changes: 6 additions & 0 deletions tests/format/markdown/blockquote/issue-19528.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
> test\>

> **test**\>

> \>