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
It could be nice if textwrap supported "refilling" a paragraph. It should take an existing string like this
let help = "This is a long help text. It continues on this line since nicely-wrapped lines look better in the source code. This is a second paragraph in the same string.";
This string contains newlines and extra indentation. Refilling it would mean ignoring the extra newlines and indentation, and then otherwise wrapping it at some width.
Multiple paragraphs should probably be supported in order to make it extra convenient.
The text was updated successfully, but these errors were encountered:
These small helper functions makes it possible to take already wrapped
text and re-wrap it to a different width. Things like Markdown
unordered lists, quoted emails, and comment blocks can be rewrapped
with the refill function.
Fixes#60.
Fixes#121.
It could be nice if textwrap supported "refilling" a paragraph. It should take an existing string like this
This string contains newlines and extra indentation. Refilling it would mean ignoring the extra newlines and indentation, and then otherwise wrapping it at some width.
Multiple paragraphs should probably be supported in order to make it extra convenient.
The text was updated successfully, but these errors were encountered: