Asciidoctor::Converter::TemplateConverter
Inherits Asciidoctor::Converter::Base < Reference < Object
A Converter implementation that uses templates to convert AbstractNode objects from a parsed AsciiDoc document tree to the backend format.
Crystal uses ECR as its native template engine. This implementation provides the base class and template discovery logic. Specific template engine adapters (Slim, Haml, ERB equivalents) can be added later.
Ported from Ruby Asciidoctor lib/asciidoctor/converter/template.rb
Constructors
Instance methods
Convert an AbstractNode to the backend format using the named template.
Dispatch conversion (delegates to convert).
Check whether there is a template registered with the specified name.
Register a template with this converter.