-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature suggestion: Automating wrapping markdown one-sentence-per-line #337
Comments
Identified in #361 |
I'd vote against autowrapping Markdown. From my perspective:
|
I actually wholeheartedly disagree with this bit. When markdown is not wrapped and someone changes a few words in a paragraph, it can be very long. |
I wrap markdown for my own stuff. But just because I quite like to |
You may already know but in case it's helpful: as an alternative to |
I'm also -1 on wrapping Markdown at a fixed number of characters, and agree with reasons in #337 (comment). Generally I try and do one-sentence-per-line, for reasons outlined here: https://nick.groenen.me/notes/one-sentence-per-line/, which I think addresses #337 (comment) too, so perhaps we could look for a linter that wraps whole sentences, or just leave this as is with no automatic markdown wrapping? |
@p-j-smith found some one-sentence-per-line linter, but it was impractically slow |
One sentence per line seems a good recommendation to me - if nothing else it'll make me notice, and hopefully be more likely to fix, my tendency towards overly long sentences (this one being a case in point 😅). |
Is consensus here that we
? If so I'll edit the title of the issue and we can keep on the lookout for a one-sentence-per-line linter |
Not sure if it helps us in the quest for Is a thing. |
Was this what Paul found? Looks to be a |
Just trying to find what it was |
Found it! Yes it was that one, see discussion here https://github.com/UCL-MIRSG/MIRSG/issues/191 (screenshot, as you might not have access) I ended up using Prose Wrap from |
Is Your Feature Request Related to a Problem? Please Describe
Add an automated way to wrap markdown files at 80 (@dstansby: maybe a bit more??) characters.
Suggested by @paddyroddy in #335 (comment).
Describe the Solution You'd Like
An automated way to wrap markdown files in the pre-commit config.
Describe Alternatives You've Considered
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: