Class: Coradoc::AsciiDoc::Model::Inline::Superscript
Overview
Superscript inline text formatting for AsciiDoc documents.
Superscript text is rendered with carets: ^superscript^.
Instance Attribute Summary collapse
-
#content ⇒ String, Array<Lutaml::Model::Serializable>
readonly
The text content to format as superscript.
Attributes inherited from Base
Method Summary
Methods inherited from Base
Methods inherited from Base
#block_level?, #inline?, #serialize_content, #simplify_block_content, #to_adoc, #to_h, visit, #visit
Instance Attribute Details
#content ⇒ String, Array<Lutaml::Model::Serializable> (readonly)
Returns The text content to format as superscript.
21 22 23 24 25 26 27 28 29 |
# File 'lib/coradoc/asciidoc/model/inline/superscript.rb', line 21 class Superscript < Base attribute :content, Lutaml::Model::Serializable, default: -> { nil }, polymorphic: [ Lutaml::Model::Type::String, :array ] end |