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