Class: Asciidoctor::RFC::V2::Converter

Inherits:
Object
  • Object
show all
Includes:
Converter, Common::Base, Common::Front, Base, Blocks, Front, InlineAnchor, Lists, Table, Validate, 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

Lists::OLIST_TYPES

Constants included from Common::Base

Common::Base::IETF_AREAS

Instance Method Summary collapse

Methods included from Validate

validate

Methods included from Table

#table

Methods included from Lists

#dlist, #olist, #ulist

Methods included from InlineAnchor

#inline_anchor

Methods included from Front

#address, #front, #organization

Methods included from Blocks

#admonition, #example, #floating_title, #listing, #literal, #quote, #stem

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, #output_dtd, #paragraph1, #preamble, #reflist, #set_pis, #skip, #smart_quote_cleanup, #workgroup

Constructor Details

#initialize(backend, opts) ⇒ Converter

Returns a new instance of Converter.



40
41
42
43
44
45
# File 'lib/asciidoctor/rfc/v2/converter.rb', line 40

def initialize(backend, opts)
  super
  Asciidoctor::Compliance.natural_xrefs = false
  basebackend "html"
  outfilesuffix ".xml"
end