Class Asciidoctor::Inline
In: lib/asciidoctor/inline.rb
Parent: AbstractNode

Public: Methods for managing inline elements in AsciiDoc block

Methods

alt   block?   convert   inline?   new   reftext   reftext?   render   xreftext  

Attributes

target  [RW]  Public: Get/Set the target (e.g., uri) of this inline element
text  [R]  Public: Get the text of this inline element
type  [R]  Public: Get the type (qualifier) of this inline element

Public Class methods

Public Instance methods

Public: Returns the converted alt text for this inline image.

Returns the [String] value of the alt attribute.

render()

Alias for convert

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

Use the explicit reftext for this inline node, if specified, retrieved by calling the reftext method. Otherwise, returns nil.

xrefstyle - Not currently used (default: nil).

Returns the [String] reftext to refer to this inline node or nothing if no reftext is defined.

[Validate]