We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93c1941 commit ab71c81Copy full SHA for ab71c81
src/Renderers/CodeNodeRenderer.php
@@ -59,6 +59,7 @@ public function render(): string
59
60
if ('text' !== $language) {
61
$highLighter = new Highlighter();
62
+ Highlighter::registerLanguage('php', __DIR__.'/../Templates/highlight.php/pjp.json', true);
63
$code = $highLighter->highlight(self::LANGUAGES_MAPPING[$language] ?? $language, $code)->value;
64
}
65
0 commit comments