Format a paragraph of text to a fixed width, adding spaces for indentation to any added line.
Declared in <util/strencodings.h>
std::string
FormatParagraph(
std::string_view in,
size_t width = 79,
size_t indent = 0);
The reflowed paragraph.
| Name | Description |
|---|---|
| in | The text to format. |
| width | The maximum line width in characters. |
| indent | Number of spaces to indent each wrapped line. |