lukeed/tidyPublic

fix: keep indents before fences

An indented continuation line that would open a fence, a thematic
break, or an HTML block used to join the line before. Prettier keeps
the line break there but drops the indent, which opens the block. At
the top level mdtidy now keeps both the break and the indent, which
keeps the line text. Inside containers, where the source indent mixes
with container markers, it still joins.
LELuke Edwards authored
cd07a31Patch
Parentfafc7d1
3 files changed+37-31
StackedSplit
crates/tidy/src/markdown/opener.rs+21 โˆ’16
crates/tidy/src/markdown/writer/liquid.rs+6 โˆ’1
crates/tidy/tests/markdown.rs+10 โˆ’14