Class AsciiDocPreviewExtensionRegistry
java.lang.Object
pro.verron.asciidoc.preview.AsciiDocPreviewExtensionRegistry
- All Implemented Interfaces:
org.asciidoctor.jruby.extension.spi.ExtensionRegistry
public class AsciiDocPreviewExtensionRegistry
extends Object
implements org.asciidoctor.jruby.extension.spi.ExtensionRegistry
Registers the
AsciiDocPreviewBlockMacro extension with Asciidoctor,
enabling the preview:: block macro for embedding visual previews of
AsciiDoc templates within a document.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new registry that registers thepreviewmacro. -
Method Summary
-
Constructor Details
-
AsciiDocPreviewExtensionRegistry
public AsciiDocPreviewExtensionRegistry()Constructs a new registry that registers thepreviewmacro.
-
-
Method Details
-
register
public void register(org.asciidoctor.Asciidoctor asciidoctor) - Specified by:
registerin interfaceorg.asciidoctor.jruby.extension.spi.ExtensionRegistry
-