Header menu logo Nao

Inline Type

Inline-level content — a run that lives inside a paragraph, heading or table cell.

Union cases

Union case Description

InlineCode string

Full Usage: InlineCode string

Parameters:
    Item : string

Inline monospaced code.

Item : string

InlineImage(resource, alt, size)

Full Usage: InlineImage(resource, alt, size)

Parameters:

An inline image referencing an extracted resource.

resource : ResourceId
alt : string option
size : Size option

InlineRaw(format, data)

Full Usage: InlineRaw(format, data)

Parameters:
    format : string
    data : string

Escape hatch for format-specific inline content the model doesn't capture (e.g. a raw HTML span, a math expression). `format` identifies the payload.

format : string
data : string

LineBreak

Full Usage: LineBreak

A forced line break within a block (not a paragraph break).

Link(children, href)

Full Usage: Link(children, href)

Parameters:
    children : Inline list
    href : string

A hyperlink wrapping inline children.

children : Inline list
href : string

Run(text, style)

Full Usage: Run(text, style)

Parameters:

A styled run of text.

text : string
style : TextStyle

Instance members

Instance member Description

this.IsInlineCode

Full Usage: this.IsInlineCode

Returns: bool
Returns: bool

this.IsInlineImage

Full Usage: this.IsInlineImage

Returns: bool
Returns: bool

this.IsInlineRaw

Full Usage: this.IsInlineRaw

Returns: bool
Returns: bool

this.IsLineBreak

Full Usage: this.IsLineBreak

Returns: bool
Returns: bool

this.IsLink

Full Usage: this.IsLink

Returns: bool
Returns: bool

this.IsRun

Full Usage: this.IsRun

Returns: bool
Returns: bool

Type something to start searching.