class

Asciidoctor::Extensions::MacroProcessor

Inherits Asciidoctor::Extensions::Processor < Reference < Object

MacroProcessor is the base class for block and inline macro processors.

NOTE: In Crystal, the name property uses String instead of Symbol because Crystal symbols are compile-time constants and cannot be created dynamically from runtime strings (unlike Ruby symbols).

Constructors

new(name : String | Nil = nil, config : Hash(String, String | Bool | Int32 | Array(String) | Set(Symbol) | Symbol) = {} of String => String | Bool | Int32 | Array(String) | Set(Symbol) | Symbol)
Source

Instance methods

name
Source
name=(name : String | Nil)
Source
process(parent : AbstractBlock, target : String, attributes : Hash(String, String)) : AbstractBlock | Inline | Nil
Source