Post-process
The following options affect only the render
command.
--trim-blocks
Trim any blocks left after rendering.
Currently, this is a very naive implementation that mimics what
tera
might do if/when it addstrim_blocks
. It is by no means smart and will just normalize whitespace regardless of what the template requested.
--wrap-text
Wrap text to a maximum character width.
Maximum line length is not guaranteed as long words are not broken if their length exceeds the maximum. Hyphenation is not used, however, existing hyphen can be split on to insert a line-break.
This will naively wrap all the text inside a rendered file regardless its structure. Use with caution! Extremely low values may cause unexpected results. Values above
80
or so are recommended.