executablebooks / mdformat

CommonMark compliant Markdown formatter
https://mdformat.rtfd.io
MIT License
439 stars 46 forks source link

Allow wrapping option of 1 sentence per line #374

Closed antazoey closed 1 year ago

antazoey commented 1 year ago

Context

Our general rule is 1 sentence per line in Markdown, regardless of long or short that sentence is. It would be nice if we could have that as an option for --wrap.

Proposal

--wrap sentence where sentence is the new enum value

Tasks and updates

No response

hukkin commented 1 year ago

Closing as dupe of https://github.com/executablebooks/mdformat/issues/4