InlineCodeNode
ClassDataClassSource
InlineCodeNode(type: Literal["inline_code"] = "inline_code", code: str)
Node: Code (Inline)
Provide the inline code, to be rendered as [noparse]...[/noparse] in BBCode.
Fields
| Name | Type | Required | |
|---|---|---|---|
type | Literal["inline_code"] | The type identifer of this document node. | |
code | str | The code text in the node. |
Properties
pure_text
pure_text: str = self.pure_text
The pure text of the current node.
size
size: int = self.size
The estimated text length of the current node.