module

Asciidoctor::Converter::DefaultRegistry

The default (global) registry of converters that are registered statically. This registry includes built-in converters for HTML5, DocBook5 and ManPage.

Constants

BUILT_IN_BACKENDS = Set {"html5", "docbook5", "manpage"}

Class methods

converter_for(backend : String) : Base.class | Nil

Lookup a converter by backend name.

Source
converters

Get all registered converters.

Source
create(backend : String, opts : Hash(String, String) = {} of String => String) : Base | Nil

Create a converter instance for the given backend.

Source
register(converter : Base.class, *backends : String) : Nil

Register a converter for one or more backends.

Source
unregister_all

Unregister all custom converters (keep built-in ones).

Source