Inline code (monospaced) used for short snippets within text.
Declared in <mrdocs/Metadata/DocComment/Inline/CodeInline.hpp>
struct CodeInline final
: InlineCommonBase<InlineKind::Code>
, InlineContainer
Syntax:
@c inline_code
or
`inline_code`
| Name | Description |
|---|---|
InlineCommonBase<InlineKind::Code> | Base class for providing variant discriminator functions. |
InlineContainer | An internal node in the inline element tree. |
| Name | Description |
|---|---|
operator= | Assignment operators |
append | append overloads |
asInlineContainer | Return this container as a base-class reference. |
back | Get the last inline child. |
begin | Begin iterator forwarding to children. |
clear | Clear all inline children. |
emplace_back | Append a child of the specified type in-place. |
empty | Determine if there are no inline children. |
end | End iterator forwarding to children. |
erase | Erase inline children. |
front | Get the first inline child. |
insert | Insert inline children. |
operator+= | Addition assignment operators |
size | Get the number of inline children. |
| Name |
|---|
isCode |
isCopyDetails |
isEmph |
isFootnoteReference |
isHighlight |
isImage |
isLineBreak |
isLink |
isMath |
isReference |
isSoftBreak |
isStrikethrough |
isStrong |
isSubscript |
isSuperscript |
isText |
| Name | Description |
|---|---|
children | Child inline elements contained here. |
| Name | Description |
|---|---|
kind_id | The variant discriminator constant of the most-derived class. |
| Name | Description |
|---|---|
CodeInline | Inherit inline container constructors. |
| Name | Description |
|---|---|
getAsPlainText | Flatten an InlineContainer to plain text. |
getAsPlainText | Get the plain text representation of an inline element tree. |
getAsPlainText | Flatten an InlineContainer to plain text. |
getAsPlainText | Get the plain text representation of an inline element tree. |
ltrim | Removes leading whitespace from the first text element in the given InlineContainer. |
rtrim | Removes trailing whitespace from the last text element in the given InlineContainer. |
trim | Removes leading and trailing whitespace from the text elements in the given InlineContainer. |