class

Asciidoctor::Extensions::BlockProcessor

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

BlockProcessors are used to handle delimited blocks and paragraphs that have a custom name.

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

contexts

Get the contexts on which this block processor can be used.

Source
name
Source
name=(name : String | Nil)
Source
process(parent : AbstractBlock, reader : Reader, attributes : Hash(String, String)) : AbstractBlock | Nil
Source