Start replacing highlight js with tempest-highlight
This commit is contained in:
@ -17,9 +17,9 @@ class GenericParser extends AbstractParser
|
||||
$builder = new PipelineBuilder();
|
||||
$pipeline = $builder
|
||||
->add(new HtmlEscapeStage())
|
||||
->add(new ReplaceBlocksStage('<pre>', '</pre>', '```'))
|
||||
->add(new ReplaceBlocksStage('<code>', '</code>', '``'))
|
||||
->add(new ReplaceStage(PHP_EOL, '<br>'))
|
||||
->add(new ReplaceBlocksStage('<pre><code class="hljs">', '</code></pre>', '```'))
|
||||
->add(new ReplaceBlocksStage('<code class="hljs">', '</code>', '``'))
|
||||
->add($this->referenceStage)
|
||||
->add($this->includeStage)
|
||||
->build()
|
||||
|
Reference in New Issue
Block a user