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 Details

    • AsciiDocPreviewExtensionRegistry

      public AsciiDocPreviewExtensionRegistry()
      Constructs a new registry that registers the preview macro.
  • Method Details

    • register

      public void register(org.asciidoctor.Asciidoctor asciidoctor)
      Specified by:
      register in interface org.asciidoctor.jruby.extension.spi.ExtensionRegistry