Module: Asciidoctor::Ptc
- Defined in:
- lib/asciidoctor/ptc.rb,
lib/asciidoctor/ptc/version.rb,
lib/asciidoctor/ptc/renderer.rb,
lib/asciidoctor/ptc/extension.rb
Defined Under Namespace
Modules: Processor Classes: BlockMacroProcessor, BlockProcessor, Renderer
Constant Summary collapse
- VERSION =
'0.1.1'
Class Method Summary collapse
-
.register(registry = Asciidoctor::Extensions) ⇒ Object
Register the block and block-macro processors with an Asciidoctor extension registry (defaults to the global one).
Class Method Details
.register(registry = Asciidoctor::Extensions) ⇒ Object
Register the block and block-macro processors with an Asciidoctor extension registry (defaults to the global one).
11 12 13 14 |
# File 'lib/asciidoctor/ptc.rb', line 11 def self.register(registry = Asciidoctor::Extensions) registry.block Asciidoctor::Ptc::BlockProcessor, :ptc registry.block_macro Asciidoctor::Ptc::BlockMacroProcessor, :ptc end |