mrdocs::doc::trim
trim
overloads
Synopses
Declared in <mrdocs/Metadata/DocComment/Block.hpp>
Removes leading and trailing whitespace from the block.
Removes leading and trailing whitespace from the text elements
void
trim(BlockContainer& blocks);
Removes leading and trailing whitespace from the text elements in the given InlineContainer.
void
trim(InlineContainer& inlines);
Removes leading and trailing whitespace from the block.
void
trim(Polymorphic<Block>& el);
Removes leading and trailing whitespace from the inline element.
void
trim(Polymorphic<Inline>& el);
Parameters
Name |
Description |
el |
The Block to trim. |
blocks |
The BlockContainer to trim. |
inlines |
The InlineContainer to trim. |
Created with MrDocs