1 Date: Wed, 4 Mar 2015 14:20:06 +0000
2 Mime-Version: 1.0 (Produced by PhpWiki 1.5.3)
3 Content-Type: application/x-phpwiki;
4 pagename=Help%2FSyntaxHighlighterPlugin;
5 flags=PAGE_LOCKED%2CEXTERNAL_PAGE;
7 Content-Transfer-Encoding: binary
9 The **~SyntaxHighlighter** [[Help:WikiPlugin|plugin]] will highlight source
10 code in a variety of languages.
12 Highlighting is done in Javascript with [[http://highlightjs.org/]].
14 Recognized languages are the following:
15 | Apache | Bash | C# | C++
16 | CSS | CoffeeScript | Diff | HTML, XML
17 | HTTP | Ini | JSON | Java
18 | JavaScript | Makefile | Markdown | Nginx
19 | Objective C | PHP | Perl | Python
26 The source code is put between {{{<<SyntaxHighlighter}}} and {{{>>}}}.
52 The first implementation of this plugin passed all its arguments through a C++
53 highlighter called "highlight" (available at [[http://www.andre-simon.de]]).
55 This implementation allowed the following arguments, which are now ignored.
57 === Former Arguments ===
67 | //None// (required argument), see http://www.andre-simon.de/doku/highlight/highlight.html
71 | ~[ "ansi", "gnu", "kr", "java", "linux" ~] (required)
75 | null (optional), see ##highlight/themes##
89 * Fixes by [[Help:Reini Urban|Reini Urban]]
90 * Re-implementation with [[http://highlightjs.org/]] by Alain Peyrat and Marc-Etienne Vargenau, Alcatel-Lucent
94 [[PhpWikiDocumentation]] [[CategoryWikiPlugin]]