lukeed/tidyPublic

fix: hang task items past box

Prettier aligns the lines of a task item's first paragraph after its
`[ ] ` box. The box is now part of the item marker, so wrapping also
counts it on the first line only.

Prettier aligns HTML blocks in a task item the same way, but only from
their second line, and it adds the indent again on every pass. That
part is left out so a second pass changes nothing.
LELuke Edwards authored
983c9b9Patch
Parent60fccc8
2 files changed+41-4
StackedSplit
crates/tidy/src/markdown/writer.rs+27 −4
crates/tidy/tests/markdown.rs+14 −0