class

Asciidoctor::Inline

Inherits Asciidoctor::AbstractNode < Asciidoctor::Logging < Reference < Object

Methods for managing inline elements in AsciiDoc block.

Constructors

new(parent_block : AbstractBlock, context : Symbol, text : String | Nil = nil, id : String | Nil = nil, type : Symbol | Nil = nil, target : String | Nil = nil, attributes : Hash(String, String) = {} of String => String)
Source

Instance methods

alt

Returns the converted alt text for this inline image.

Source
block?
Source
content

Get the converted result of this node's primary content (aka text).

Source
convert

Delegate to the converter to convert this inline node.

Source
document
Source
inline?
Source
parent_block

The parent block.

Source
reftext

For a reference node, the text is the reftext.

Source
reftext?

For a reference node (:ref or :bibref), the text is the reftext.

Source
target

The target (e.g., uri) of this inline element.

Source
target=(target : String | Nil)

The target (e.g., uri) of this inline element.

Source
text

The text of this inline element.

Source
text=(text : String | Nil)

The text of this inline element.

Source
type

The type (qualifier) of this inline element.

Source
xreftext(xrefstyle : String | Nil = nil) : String | Nil

Generate cross reference text (xreftext) that can be used to refer to this inline node.

Source