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 293d2ce commit 86b2b55Copy full SHA for 86b2b55
src/Renderers/CodeNodeRenderer.php
@@ -77,7 +77,9 @@ public static function isLanguageSupported(string $lang): bool
77
$highlighter = new Highlighter();
78
$supportedLanguages = array_merge(
79
array_keys(self::LANGUAGES_MAPPING),
80
- $highlighter->listLanguages(true)
+ $highlighter->listLanguages(true),
81
+ // not highlighted, but valid
82
+ ['text']
83
);
84
85
return in_array($lang, $supportedLanguages);
0 commit comments