-
Notifications
You must be signed in to change notification settings - Fork 552
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
long_desc: force keeping spaces and not break lines #398
Comments
+1 |
Experiencing issues with long_desc line breaks as well. When formatting documentation, it is essential that the author have control over the way that the text will break. This is especially true for console applications, where an incorrect line break can cause unrecoverable, or even destructive, errors. It looks like the long description is being printed using the |
+1 for @bradland's comment. |
Is this change ever getting merged into master? |
Bump |
+1 |
1 similar comment
+1 |
+1 Finding it impossible to get my long_desc displayed correctly. Line-wraps are sporadic once I use \x5. For my sanity, I've simply redefined Basic#print_wrapped in my project to output the long_desc as-is.
|
I like an option to
|
fwiw you can insert tabs with |
+1 |
2 similar comments
+1 |
+1 |
Thanks for that, @meissadia. Though it was a little too simplistic for me, given a need for indented multi-line output, so I expanded on it slightly:
|
+1 |
Hello,
I have a
long_desc
method like this:Executing
ruby-rails-documentations help generate
I want my output to be like this:Instead, I get this:
The merged spaces is not a big problem, but the added newlines is - they break the command syntax, and I can't predict where they will be.
Is there any way to force keeping spaces and, above all, force to not break lines?
The text was updated successfully, but these errors were encountered: