You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Story] Semantic/Sentence Linebreak Rule Option for MD013 #150
As someone that does a lot of writing in markdown (e.g. Quarto, Myst, etc.), I usually follow the recommendation to use soft-wraps and OSL (one-sentence-per-line).
I'm pretty sure there is a rule for other linters (eslint, markdownlint, prettier) that can do this, and it would be lovely to get a config option to warn/correct me when OSL has not been followed, which is a lot better than my current need to disable MD013 entirely.
Semantic linebreaks might be harder to actually implement, since there's a lot more that goes into a semantically meaningful. There are tools out there to do this, but they are...heavy, and require a bit of NLP (and the libraries that implies). See sembr.
Acceptance Criteria
Mode other than "off" for MD013 (line-length) to check for One-Sentence-per-Line "osl"
ability to perform refactor from hard-wrapped linebreaks into OSL as a code action
(optional) "sembr" mode that will rely on third-party semantic linebreak tooling (if available)
Activity