Repository metrics
- Stars
- (392 stars)
- PR merge metrics
- (PR metrics pending)
Description
Some other languages like Java and Kotlin have an option in the formatter to "Keep Line Breaks" while reformatting.
This does not mean that for example if you have 3 blank lines, they are preserved, those get reduced.
But this option is effective on some other places.
It would be great to have also such an option for Asciidoc.
Where I right now wish it would be considered is for "One sentence per line".
Germans tend to write much longer sentences than Englishmen. I usually prefer to split the sentence to multiple lines around 80-100 characters. So for example formatting with "One sentence per line" this:
First sentence. Second sentence. Third sentence.
would always produce
First sentence.
Second sentence.
Third sentence.
like now.
But formatting
A long sentence that is
intentionally broken to multiple
lines for better readability even
without a soft-wrapping editor.
would stay like that with the new option enabled, while currently and without the option it would be changed to
A long sentence that is intentionally broken to multiple lines for better readability even without a soft-wrapping editor.