lukeed/tidyPublic

fix: cap list numbers

CommonMark allows nine digits in an ordered list marker, so counting
up from `999999998.` reached `1000000000.`, which is text. Numbers stop
at 999,999,999, as in Prettier.
LELuke Edwards authored
2c4e358Patch
Parentb061a55
2 files changed+10-1
StackedSplit
crates/tidy/src/markdown/writer/list.rs+4 −1
crates/tidy/tests/markdown.rs+6 −0