mirror of
https://github.com/friendica/friendica
synced 2025-04-24 10:30:11 +00:00
Add bash to text_highlight language list
This commit is contained in:
parent
8a2d41e53f
commit
586b0b6e57
2 changed files with 5 additions and 1 deletions
|
@ -2030,6 +2030,10 @@ function text_highlight($s, $lang) {
|
|||
$lang = 'javascript';
|
||||
}
|
||||
|
||||
if ($lang === 'bash') {
|
||||
$lang = 'sh';
|
||||
}
|
||||
|
||||
// @TODO: Replace Text_Highlighter_Renderer_Html by scrivo/highlight.php
|
||||
|
||||
// Autoload the library to make constants available
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue