Class: Asciidoctor::Rfc::V2::Converter
- Inherits:
-
Object
- Object
- Asciidoctor::Rfc::V2::Converter
- Includes:
- Converter, Common::Base, Common::Front, Common::Validate, Base, Blocks, Front, InlineAnchor, Lists, Table, Writer
- Defined in:
- lib/asciidoctor/rfc/v2/converter.rb
Overview
A Converter implementation that generates RFC XML 2 output, a format used to format RFC proposals (tools.ietf.org/html/rfc7749)
Features drawn from github.com/miekg/mmark/wiki/Syntax and github.com/riboseinc/rfc2md
Constant Summary
Constants included from Lists
Constants included from Common::Base
Instance Method Summary collapse
-
#initialize(backend, opts) ⇒ Converter
constructor
A new instance of Converter.
Methods included from Table
Methods included from Lists
Methods included from InlineAnchor
Methods included from Front
#address, #front, #organization
Methods included from Blocks
#admonition, #example, #floating_title, #listing, #literal, #pass, #quote, #stem, #text_only_example
Methods included from Base
#cleanup, #document, #image, #inline_break, #inline_quoted, #merge_vspace, #para_to_vspace, #paragraph, #resolve_references, #section, #verse
Methods included from Common::Validate
Methods included from Common::Front
#author, #author1, #date, #date1, #title
Methods included from Common::Base
#area, #attr_code, #cache_biblio, #cache_workgroup, #common_rfc_pis, #content, #convert, #current_location, #document_ns_attributes, #extract_entities, #flatten, #flatten_rawtext, #inline_indexterm, #insert_biblio, #keyword, #noko, #open, #paragraph1, #preamble, #reflist, #set_pis, #skip, #smart_quote_cleanup, #workgroup
Constructor Details
#initialize(backend, opts) ⇒ Converter
Returns a new instance of Converter.
39 40 41 42 43 44 |
# File 'lib/asciidoctor/rfc/v2/converter.rb', line 39 def initialize(backend, opts) super Asciidoctor::Compliance.natural_xrefs = false basebackend "html" outfilesuffix ".xml" end |