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
I'm adding examples to some CLI commands. Please correct me if I'm wrong but as far as I can see, there is no way to either:
Vertically format examples. Currently, the input is aligned to the left and the output to the right. This is an issue because it can make copying the example a pain once it wraps to multiple lines because the wrapped output will also be copied, spliced into every line.
Have newline characters be treated as just that in the description as opposed to paragraph breaks when passing in a multiline string. Either this, or if I use \n, the output is wrapped at around half the normal line length... I was thinking about sticking the example in here, but it's auto inserting a paragraph break between the example command and the output.
Are there any other solutions to vertically format examples such that the entirety of the output is printed below the example command (without a paragraph break)?
The text was updated successfully, but these errors were encountered:
I'm adding examples to some CLI commands. Please correct me if I'm wrong but as far as I can see, there is no way to either:
\n
, the output is wrapped at around half the normal line length... I was thinking about sticking the example in here, but it's auto inserting a paragraph break between the example command and the output.Are there any other solutions to vertically format examples such that the entirety of the output is printed below the example command (without a paragraph break)?
The text was updated successfully, but these errors were encountered: