class

Asciidoctor::Converter::ManPageConverter

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

Constants

EllipsisCharRefRx = /&#8230;(?:&#8203;)?/
EmDashCharRefRx = /&#8212;(?:&#8203;)?/
ESC = "\e"
ESC_BS = "#{ESC}\\"
ESC_FS = "#{ESC}."
EscapedMacroRx = /^(?:#{Regex.escape(ESC_BS)}c\n)?#{Regex.escape(ESC_FS)}((?:URL|MTO) ".*?" ".*?" )( |[^\s]*)(.*?)(?: *#{Regex.escape(ESC_BS)}c)?$/m
ET = " " * 8
LeadingPeriodRx = /^\./m
LiteralBackslashInlineRx = /\\(?=[^\\]|$)/
LiteralBackslashRx = /\A\\|(#{Regex.escape(ESC)})?\\/
MockMacroRx = /<\/?(#{Regex.escape(ESC_BS)}[^>]+)>/
PCDATAFilterRx = /(&#?[a-z\d]+;|<#{Regex.escape(ESC_BS)}f\(CR.*?<\/#{Regex.escape(ESC_BS)}fP>|<[^>]+>)|([^&<]+)/
TroffEscapeRx = /\\(?=[a-zA-Z(])/
WHITESPACE_CHARS = "\n\t "
WrappedIndentRx = /\h*\n\h*/
XMLMarkupRx = /&#?[a-z\d]+;|</

Constructors

new(backend : String = "manpage")
Source

Instance methods

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

Convert a node to its output representation.

Source
convert_admonition(node : AbstractBlock) : String
Source
convert_block(node : Block) : String
Source
convert_colist(node : List) : String
Source
convert_dlist(node : List) : String
Source
convert_document(node : Document) : String
Source
convert_embedded(node : Document) : String
Source
convert_example(node : AbstractBlock) : String
Source
convert_floating_title(node : AbstractNode) : String
Source
convert_image(node : AbstractBlock) : String
Source
convert_inline(node : Inline) : String
Source
convert_inline_anchor(node : Inline) : String
Source
convert_inline_break(node : Inline) : String
Source
convert_inline_button(node : Inline) : String
Source
convert_inline_callout(node : Inline) : String
Source
convert_inline_footnote(node : Inline) : String
Source
convert_inline_image(node : Inline) : String
Source
convert_inline_indexterm(node : Inline) : String
Source
convert_inline_kbd(node : Inline) : String
Source
convert_inline_menu(node : Inline) : String
Source
convert_inline_quoted(node : Inline) : String
Source
convert_list(node : List) : String
Source
convert_listing(node : AbstractBlock) : String
Source
convert_literal(node : AbstractBlock) : String
Source
convert_olist(node : List) : String
Source
convert_open(node : AbstractBlock) : String
Source
convert_page_break(node : AbstractBlock) : String
Source
convert_paragraph(node : AbstractBlock) : String
Source
convert_quote(node : AbstractBlock) : String
Source
convert_section(node : Section) : String
Source
convert_sidebar(node : AbstractBlock) : String
Source
convert_stem(node : AbstractBlock) : String
Source
convert_table(node : Table) : String
Source
convert_thematic_break(node : AbstractBlock) : String
Source
convert_ulist(node : List) : String
Source
convert_verse(node : AbstractBlock) : String
Source
dispatch(node : AbstractNode, transform : String) : String

Dispatch conversion to the appropriate method.

Source