class

Asciidoctor::Converter::Html5Converter

Inherits Asciidoctor::Converter::Base < Reference < Object

Constants

DEFAULT_QUOTE_TAG = {"", "", false}
DEFAULT_STYLESHEET_KEYS = Set {"", "DEFAULT", "asciidoctor.css"}
DimensionAttrRx = /\s(?:width|height|style)=(["']).*?\1/
DropAnchorRx = /<(?:a\b[^>]*|\/a)>/
FONT_AWESOME_VERSION = "4.7.0"
LeadingAnchorsRx = /^(?:<a id="[^"]+"><\/a>)+/
MATHJAX_VERSION = "2.7.9"
QUOTE_TAGS = {:monospaced => {"<code>", "</code>", true}, :emphasis => {"<em>", "</em>", true}, :strong => {"<strong>", "</strong>", true}, :double => {"&#8220;", "&#8221;", false}, :single => {"&#8216;", "&#8217;", false}, :mark => {"<mark>", "</mark>", true}, :superscript => {"<sup>", "</sup>", true}, :subscript => {"<sub>", "</sub>", true}, :asciimath => {"\\$", "\\$", false}, :latexmath => {"\\(", "\\)", false}}
StemBreakRx = /\ *\\\n(?:\\?\n)*|\n\n+/
SvgPreambleRx = /\A.*?(?=<svg[\s>])/m
SvgStartTagRx = /\A<svg(?:\s[^>]*)?>/

Constructors

new(backend : String = "html5", htmlsyntax : String = "html")
Source

Instance methods

convert(node : AbstractNode, transform : String | Nil = nil) : String

Convert a node to its output representation.

Source
convert_admonition(node : AbstractNode) : String
Source
convert_audio(node : AbstractNode) : String
Source
convert_colist(node : AbstractNode) : String
Source
convert_dlist(node : AbstractNode) : String
Source
convert_document(node : AbstractNode) : String
Source
convert_embedded(node : AbstractNode) : String
Source
convert_example(node : AbstractNode) : String
Source
convert_floating_title(node : AbstractNode) : String
Source
convert_image(node : AbstractNode) : String
Source
convert_inline_anchor(node : AbstractNode) : String
Source
convert_inline_break(node : AbstractNode) : String
Source
convert_inline_button(node : AbstractNode) : String
Source
convert_inline_callout(node : AbstractNode) : String
Source
convert_inline_footnote(node : AbstractNode) : String
Source
convert_inline_image(node : AbstractNode) : String
Source
convert_inline_indexterm(node : AbstractNode) : String
Source
convert_inline_kbd(node : AbstractNode) : String
Source
convert_inline_menu(node : AbstractNode) : String
Source
convert_inline_quoted(node : AbstractNode) : String
Source
convert_listing(node : AbstractNode) : String
Source
convert_literal(node : AbstractNode) : String
Source
convert_olist(node : AbstractNode) : String
Source
convert_open(node : AbstractNode) : String
Source
convert_outline(node : AbstractNode, toclevels : Int32 | Nil = nil, sectnumlevels : Int32 | Nil = nil) : String | Nil
Source
convert_page_break(node : AbstractNode) : String
Source
convert_paragraph(node : AbstractNode) : String
Source
convert_preamble(node : AbstractNode) : String
Source
convert_quote(node : AbstractNode) : String
Source
convert_section(node : AbstractNode) : String
Source
convert_sidebar(node : AbstractNode) : String
Source
convert_stem(node : AbstractNode) : String
Source
convert_table(node : AbstractNode) : String
Source
convert_thematic_break(node : AbstractNode) : String
Source
convert_toc(node : AbstractNode) : String
Source
convert_ulist(node : AbstractNode) : String
Source
convert_verse(node : AbstractNode) : String
Source
convert_video(node : AbstractNode) : String
Source
dispatch(node : AbstractNode, transform : String) : String

Dispatch conversion to the appropriate method.

Source