Example #1
0
 /**
  * @param ExtensionInterface $extension
  */
 protected function initializeExtension(ExtensionInterface $extension)
 {
     $this->initalizeBlockParsers($extension->getBlockParsers());
     $this->initializeInlineParsers($extension->getInlineParsers());
     $this->initializeInlineProcessors($extension->getInlineProcessors());
     $this->initializeDocumentProcessors($extension->getDocumentProcessors());
     $this->initializeBlockRenderers($extension->getBlockRenderers());
     $this->initializeInlineRenderers($extension->getInlineRenderers());
 }