lukeed/tidyPublic

feat: keep wiki links whole

Prettier parses [[wiki links]] and never breaks inside them. When a
paragraph's text has [[ and a later ]] or wiki link, it keeps all the
text as written, so filling can't join them into a new link. Wrap
always on corpus B goes from 2,011 to 2,067; wrap never is now
2,142/2,142.
LELuke Edwards authored
639cdb8Patch
Parenta676f66
3 files changed+146-1
StackedSplit
crates/tidy/src/markdown/writer/mod.rs+15 −1
crates/tidy/src/markdown/writer/wiki.rs+123 −0
crates/tidy/tests/markdown.rs+8 −0