-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Wrapping the second and following line in a multiline description doesn't work if the line starts from space #1822
Comments
Thanks for the detailed examples. This is an intended behaviour rather than a bug. The wrapping code does not wrap text that looks pre-formatted. When you put spaces on the start of the second line, the wrapping code assumes you have pre-formatted the text. The current wrapping behaviour was introduced in #956 and #1051, and the issue they took into account with pre-formatted text was #396. |
Thank you for the clarification. I read #396, but couldn't figure out what it talking about. In any case, it would be so great if you could add more details to the documentation. |
Adding mention of wrapping and "pre-formatted" descriptions to README in #1859. |
Added documentation in 10.0.1 Thanks @bk201 |
Hi @shadowspawn, probably a wrong mention. |
I wanted to add an indent to the second line in the description.
I've expected something like this
But got:
I tried to change the template literal to a string but got the same result.
But if I remove leading spaces from the second and third line, the indent will work correctly;
The text was updated successfully, but these errors were encountered: