-
Notifications
You must be signed in to change notification settings - Fork 11
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
Define a maximum number of characters per line #100
Comments
Hi! So we already had this request previously here and added option in mdox to preserve soft line breaks in markdown (
with
but with
This option is already being used in prometheus-operator. Maybe this addresses your use case better? 🙂 |
Oh yeah that's already cool to have this option ! Thank you for pointing it, I didn't pay enough attention to the documentation. I still think it would be cool to enforce a maximum length per line. So it's the breaks-line logic for everyone :). |
I see! I'm not opposed to line limits, and would be interested in a PR if you have some time. 🙂 mdox internally uses https://github.com/Kunde21/markdownfmt for markdown formatting, so that might be a good place to start! |
ah nice, thanks for the pointer ! I will look there then :). |
Still, it would be amazing to have auto-wrap with given width option e.g. |
Hi,
It would be nice to be able to define the number of characters per line for the command
mdox fmt
. Like that every paragraphs are not inline anymore and it's easier to read in IntelliJ for example.Because then you don't need to scroll horizontally which is a pain to do it regardless how much your UI is awesome :).
If you find it interesting, I would probably take some time to implement it.
The text was updated successfully, but these errors were encountered: