SyntaxHighlighting

From BITPlan Wiki
Revision as of 14:51, 24 November 2020 by Wf (talk | contribs) (pushed from media by wikipush)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Extension

Extension
edit
name  SyntaxHighlight
url  https://www.mediawiki.org/wiki/Extension:SyntaxHighlight
purpose  syntax highlighting of divers languages
since  2007/04/03
wiki  Ceur-wsWiki, Crwiki, OPEN RESEARCH, Rqwiki, Vanilla

Example

1def quick_sort(arr):
2	less = []
3	pivot_list = []
4	more = []
5	if len(arr) <= 1:
6		return arr
7	else:
8		pass
public class Syntax {
}
wf@capri:/var/www/mediawiki/code/extensions/SyntaxHighlight_GeSHi/pygments$ ./pygmentize -V
Pygments version 2.5.2, (c) 2006-2019 by Georg Brandl.