lukeed/tidyPublic

fix: keep blocks beside lazy Liquid

A Liquid line written lazily after a list item or quote is, for
Prettier, a block after that container, so the block that follows it
stays beside it. mdtidy kept the Liquid line at the margin but still
put a blank line before the next block.
LELuke Edwards authored
3d42db0Patch
Parent6353ca2
4 files changed+9-1
StackedSplit
crates/tidy/src/markdown/writer/layout.rs+2 −1
crates/tidy/src/markdown/writer/liquid.rs+1 −0
crates/tidy/src/markdown/writer/mod.rs+4 −0
crates/tidy/tests/markdown.rs+2 −0