示例#1
0
 /**
  * {@inheritdoc}
  */
 public function convert(ConverterContextInterface $converterContext)
 {
     $converterContext->setContent($this->parser->textileThis($converterContext->content()));
 }
 /**
  * {@inheritdoc}
  */
 public function convert(ConverterContextInterface $converterContext)
 {
     $documentAST = $this->parser->parse($converterContext->content());
     $converterContext->setContent($this->renderer->renderBlock($documentAST));
 }
示例#3
0
 /**
  * {@inheritdoc}
  */
 public function convert(ConverterContextInterface $converterContext)
 {
     $converterContext->setContent($this->markdown->transform($converterContext->content()));
 }
 /**
  * {@inheritdoc}
  */
 public function convert(ConverterContextInterface $converterContext)
 {
     $converterContext->setContent($this->converter->convertToHtml($converterContext->content()));
 }