Skip to main content

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​

NameTypeRequired
Description
typeLiteral["inline_code"]The type identifer of this document node.
codestrThe 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.