- Stability: stable
- to extend
- Since
- 1.47
Definition at line 10 of file CodeHighlightProvider.php.
◆ highlight()
Implements the highlighting of the code based on the given language.
- Parameters
-
| string | $code | |
| CodeHighlighterOptions | $options | |
- Returns
- CodeHighlighterOutput
◆ isSupportedLanguage()
| MediaWiki\Content\CodeHighlightProvider::isSupportedLanguage |
( |
string | $lang | ) |
|
|
abstract |
Checks if the given language is supported by this code highlighter implementation.
- Parameters
-
- Returns
- bool
The documentation for this class was generated from the following file: