Syntax Highlighter 2.0 Copyright (c) 2006-2010 MindTouch Inc. This extension contains functions for highlighting syntax of popular programming languages. http://developer.mindtouch.com/App_Catalog/Syntax_Highlighter_2.0 syntax Select color theme for highlighted text. (one of 'Default', 'Django', 'Eclipse', 'Emacs', 'FadeToGrey', 'Midnight', or 'RDark') format Show code using specified syntax formatter. internal source code to highlight Allows you to force highlighted elements on the page to be collapsed by default. Allows you to change the first (starting) line number. Allows you to turn gutter with line numbers on and off. Allows you to show column ruler on top of highlighted elements. Toggles toolbar on/off. Allows you to turn line wrapping feature on and off. Select color theme for highlighted text. (one of 'Default', 'Django', 'Eclipse', 'Emacs', 'FadeToGrey', 'Midnight', or 'RDark'; default: see config) Select highlighting brush.
as3 Highlight ActionScript3 syntax source code to highlight Allows you to force highlighted elements on the page to be collapsed by default. Allows you to change the first (starting) line number. Allows you to turn gutter with line numbers on and off. Allows you to show column ruler on top of highlighted elements. Toggles toolbar on/off. Allows you to turn line wrapping feature on and off. Select color theme for highlighted text. (one of 'Default', 'Django', 'Eclipse', 'Emacs', 'FadeToGrey', 'Midnight', or 'RDark'; default: see config) format($code, $collapse, $firstline, $gutter, $ruler, $tooblar, $wrap, $theme, 'AS3') cpp Highlight C/C++ syntax source code to highlight Allows you to force highlighted elements on the page to be collapsed by default. Allows you to change the first (starting) line number. Allows you to turn gutter with line numbers on and off. Allows you to show column ruler on top of highlighted elements. Toggles toolbar on/off. Allows you to turn line wrapping feature on and off. Select color theme for highlighted text. (one of 'Default', 'Django', 'Eclipse', 'Emacs', 'FadeToGrey', 'Midnight', or 'RDark'; default: see config) format($code, $collapse, $firstline, $gutter, $ruler, $tooblar, $wrap, $theme, 'Cpp') csharp Highlight C# syntax source code to highlight Allows you to force highlighted elements on the page to be collapsed by default. Allows you to change the first (starting) line number. Allows you to turn gutter with line numbers on and off. Allows you to show column ruler on top of highlighted elements. Toggles toolbar on/off. Allows you to turn line wrapping feature on and off. Select color theme for highlighted text. (one of 'Default', 'Django', 'Eclipse', 'Emacs', 'FadeToGrey', 'Midnight', or 'RDark'; default: see config) format($code, $collapse, $firstline, $gutter, $ruler, $tooblar, $wrap, $theme, 'CSharp') css Highlight CSS syntax source code to highlight Allows you to force highlighted elements on the page to be collapsed by default. Allows you to change the first (starting) line number. Allows you to turn gutter with line numbers on and off. Allows you to show column ruler on top of highlighted elements. Toggles toolbar on/off. Allows you to turn line wrapping feature on and off. Select color theme for highlighted text. (one of 'Default', 'Django', 'Eclipse', 'Emacs', 'FadeToGrey', 'Midnight', or 'RDark'; default: see config) format($code, $collapse, $firstline, $gutter, $ruler, $tooblar, $wrap, $theme, 'Css') dekiscript Highlight DekiScript syntax source code to highlight Allows you to force highlighted elements on the page to be collapsed by default. Allows you to change the first (starting) line number. Allows you to turn gutter with line numbers on and off. Allows you to show column ruler on top of highlighted elements. Toggles toolbar on/off. Allows you to turn line wrapping feature on and off. Select color theme for highlighted text. (one of 'Default', 'Django', 'Eclipse', 'Emacs', 'FadeToGrey', 'Midnight', or 'RDark'; default: see config) format($code, $collapse, $firstline, $gutter, $ruler, $tooblar, $wrap, $theme, 'Dekiscript') delphi Highlight Delphi syntax source code to highlight Allows you to force highlighted elements on the page to be collapsed by default. Allows you to change the first (starting) line number. Allows you to turn gutter with line numbers on and off. Allows you to show column ruler on top of highlighted elements. Toggles toolbar on/off. Allows you to turn line wrapping feature on and off. Select color theme for highlighted text. (one of 'Default', 'Django', 'Eclipse', 'Emacs', 'FadeToGrey', 'Midnight', or 'RDark'; default: see config) format($code, $collapse, $firstline, $gutter, $ruler, $tooblar, $wrap, $theme, 'Delphi') diff Highlight Diff syntax source code to highlight Allows you to force highlighted elements on the page to be collapsed by default. Allows you to change the first (starting) line number. Allows you to turn gutter with line numbers on and off. Allows you to show column ruler on top of highlighted elements. Toggles toolbar on/off. Allows you to turn line wrapping feature on and off. Select color theme for highlighted text. (one of 'Default', 'Django', 'Eclipse', 'Emacs', 'FadeToGrey', 'Midnight', or 'RDark'; default: see config) format($code, $collapse, $firstline, $gutter, $ruler, $tooblar, $wrap, $theme, 'Diff') groovy Highlight Groovy syntax source code to highlight Allows you to force highlighted elements on the page to be collapsed by default. Allows you to change the first (starting) line number. Allows you to turn gutter with line numbers on and off. Allows you to show column ruler on top of highlighted elements. Toggles toolbar on/off. Allows you to turn line wrapping feature on and off. Select color theme for highlighted text. (one of 'Default', 'Django', 'Eclipse', 'Emacs', 'FadeToGrey', 'Midnight', or 'RDark'; default: see config) format($code, $collapse, $firstline, $gutter, $ruler, $tooblar, $wrap, $theme, 'Groovy') html Highlight HTML syntax source code to highlight Allows you to force highlighted elements on the page to be collapsed by default. Allows you to change the first (starting) line number. Allows you to turn gutter with line numbers on and off. Allows you to show column ruler on top of highlighted elements. Toggles toolbar on/off. Allows you to turn line wrapping feature on and off. Select color theme for highlighted text. (one of 'Default', 'Django', 'Eclipse', 'Emacs', 'FadeToGrey', 'Midnight', or 'RDark'; default: see config) format($code, $collapse, $firstline, $gutter, $ruler, $tooblar, $wrap, $theme, 'Xml') java Highlight Java syntax source code to highlight Allows you to force highlighted elements on the page to be collapsed by default. Allows you to change the first (starting) line number. Allows you to turn gutter with line numbers on and off. Allows you to show column ruler on top of highlighted elements. Toggles toolbar on/off. Allows you to turn line wrapping feature on and off. Select color theme for highlighted text. (one of 'Default', 'Django', 'Eclipse', 'Emacs', 'FadeToGrey', 'Midnight', or 'RDark'; default: see config) format($code, $collapse, $firstline, $gutter, $ruler, $tooblar, $wrap, $theme, 'Java') javafx Highlight JavaFX syntax source code to highlight Allows you to force highlighted elements on the page to be collapsed by default. Allows you to change the first (starting) line number. Allows you to turn gutter with line numbers on and off. Allows you to show column ruler on top of highlighted elements. Toggles toolbar on/off. Allows you to turn line wrapping feature on and off. Select color theme for highlighted text. (one of 'Default', 'Django', 'Eclipse', 'Emacs', 'FadeToGrey', 'Midnight', or 'RDark'; default: see config) format($code, $collapse, $firstline, $gutter, $ruler, $tooblar, $wrap, $theme, 'JavaFX') javascript Highlight JavaScript syntax source code to highlight Allows you to force highlighted elements on the page to be collapsed by default. Allows you to change the first (starting) line number. Allows you to turn gutter with line numbers on and off. Allows you to show column ruler on top of highlighted elements. Toggles toolbar on/off. Allows you to turn line wrapping feature on and off. Select color theme for highlighted text. (one of 'Default', 'Django', 'Eclipse', 'Emacs', 'FadeToGrey', 'Midnight', or 'RDark'; default: see config) format($code, $collapse, $firstline, $gutter, $ruler, $tooblar, $wrap, $theme, 'JScript') perl Highlight Perl syntax source code to highlight Allows you to force highlighted elements on the page to be collapsed by default. Allows you to change the first (starting) line number. Allows you to turn gutter with line numbers on and off. Allows you to show column ruler on top of highlighted elements. Toggles toolbar on/off. Allows you to turn line wrapping feature on and off. Select color theme for highlighted text. (one of 'Default', 'Django', 'Eclipse', 'Emacs', 'FadeToGrey', 'Midnight', or 'RDark'; default: see config) format($code, $collapse, $firstline, $gutter, $ruler, $tooblar, $wrap, $theme, 'Perl') php Highlight PHP syntax source code to highlight Allows you to force highlighted elements on the page to be collapsed by default. Allows you to change the first (starting) line number. Allows you to turn gutter with line numbers on and off. Allows you to show column ruler on top of highlighted elements. Toggles toolbar on/off. Allows you to turn line wrapping feature on and off. Select color theme for highlighted text. (one of 'Default', 'Django', 'Eclipse', 'Emacs', 'FadeToGrey', 'Midnight', or 'RDark'; default: see config) format($code, $collapse, $firstline, $gutter, $ruler, $tooblar, $wrap, $theme, 'Php') powershell Highlight Powershell syntax source code to highlight Allows you to force highlighted elements on the page to be collapsed by default. Allows you to change the first (starting) line number. Allows you to turn gutter with line numbers on and off. Allows you to show column ruler on top of highlighted elements. Toggles toolbar on/off. Allows you to turn line wrapping feature on and off. Select color theme for highlighted text. (one of 'Default', 'Django', 'Eclipse', 'Emacs', 'FadeToGrey', 'Midnight', or 'RDark'; default: see config) format($code, $collapse, $firstline, $gutter, $ruler, $tooblar, $wrap, $theme, 'Powershell') python Highlight Python syntax source code to highlight Allows you to force highlighted elements on the page to be collapsed by default. Allows you to change the first (starting) line number. Allows you to turn gutter with line numbers on and off. Allows you to show column ruler on top of highlighted elements. Toggles toolbar on/off. Allows you to turn line wrapping feature on and off. Select color theme for highlighted text. (one of 'Default', 'Django', 'Eclipse', 'Emacs', 'FadeToGrey', 'Midnight', or 'RDark'; default: see config) format($code, $collapse, $firstline, $gutter, $ruler, $tooblar, $wrap, $theme, 'Python') ruby Highlight Ruby syntax source code to highlight Allows you to force highlighted elements on the page to be collapsed by default. Allows you to change the first (starting) line number. Allows you to turn gutter with line numbers on and off. Allows you to show column ruler on top of highlighted elements. Toggles toolbar on/off. Allows you to turn line wrapping feature on and off. Select color theme for highlighted text. (one of 'Default', 'Django', 'Eclipse', 'Emacs', 'FadeToGrey', 'Midnight', or 'RDark'; default: see config) format($code, $collapse, $firstline, $gutter, $ruler, $tooblar, $wrap, $theme, 'Ruby') scala Highlight Scala syntax source code to highlight Allows you to force highlighted elements on the page to be collapsed by default. Allows you to change the first (starting) line number. Allows you to turn gutter with line numbers on and off. Allows you to show column ruler on top of highlighted elements. Toggles toolbar on/off. Allows you to turn line wrapping feature on and off. Select color theme for highlighted text. (one of 'Default', 'Django', 'Eclipse', 'Emacs', 'FadeToGrey', 'Midnight', or 'RDark'; default: see config) format($code, $collapse, $firstline, $gutter, $ruler, $tooblar, $wrap, $theme, 'Scala') shell Highlight bash/sh/ksh syntax source code to highlight Allows you to force highlighted elements on the page to be collapsed by default. Allows you to change the first (starting) line number. Allows you to turn gutter with line numbers on and off. Allows you to show column ruler on top of highlighted elements. Toggles toolbar on/off. Allows you to turn line wrapping feature on and off. Select color theme for highlighted text. (one of 'Default', 'Django', 'Eclipse', 'Emacs', 'FadeToGrey', 'Midnight', or 'RDark'; default: see config) format($code, $collapse, $firstline, $gutter, $ruler, $tooblar, $wrap, $theme, 'Bash') sql Highlight SQL syntax source code to highlight Allows you to force highlighted elements on the page to be collapsed by default. Allows you to change the first (starting) line number. Allows you to turn gutter with line numbers on and off. Allows you to show column ruler on top of highlighted elements. Toggles toolbar on/off. Allows you to turn line wrapping feature on and off. Select color theme for highlighted text. (one of 'Default', 'Django', 'Eclipse', 'Emacs', 'FadeToGrey', 'Midnight', or 'RDark'; default: see config) format($code, $collapse, $firstline, $gutter, $ruler, $tooblar, $wrap, $theme, 'Sql') text Show plain text source code to highlight Allows you to force highlighted elements on the page to be collapsed by default. Allows you to change the first (starting) line number. Allows you to turn gutter with line numbers on and off. Allows you to show column ruler on top of highlighted elements. Toggles toolbar on/off. Allows you to turn line wrapping feature on and off. Select color theme for highlighted text. (one of 'Default', 'Django', 'Eclipse', 'Emacs', 'FadeToGrey', 'Midnight', or 'RDark'; default: see config) format($code, $collapse, $firstline, $gutter, $ruler, $tooblar, $wrap, $theme, 'Plain') vb Highlight Visual Basic syntax source code to highlight Allows you to force highlighted elements on the page to be collapsed by default. Allows you to change the first (starting) line number. Allows you to turn gutter with line numbers on and off. Allows you to show column ruler on top of highlighted elements. Toggles toolbar on/off. Allows you to turn line wrapping feature on and off. Select color theme for highlighted text. (one of 'Default', 'Django', 'Eclipse', 'Emacs', 'FadeToGrey', 'Midnight', or 'RDark'; default: see config) format($code, $collapse, $firstline, $gutter, $ruler, $tooblar, $wrap, $theme, 'Vb') xml Highlight XML syntax source code to highlight Allows you to force highlighted elements on the page to be collapsed by default. Allows you to change the first (starting) line number. Allows you to turn gutter with line numbers on and off. Allows you to show column ruler on top of highlighted elements. Toggles toolbar on/off. Allows you to turn line wrapping feature on and off. Select color theme for highlighted text. (one of 'Default', 'Django', 'Eclipse', 'Emacs', 'FadeToGrey', 'Midnight', or 'RDark'; default: see config) format($code, $collapse, $firstline, $gutter, $ruler, $tooblar, $wrap, $theme, 'Xml') coldfusion Highlight ColdFusion syntax source code to highlight Allows you to force highlighted elements on the page to be collapsed by default. Allows you to change the first (starting) line number. Allows you to turn gutter with line numbers on and off. Allows you to show column ruler on top of highlighted elements. Toggles toolbar on/off. Allows you to turn line wrapping feature on and off. Select color theme for highlighted text. (one of 'Default', 'Django', 'Eclipse', 'Emacs', 'FadeToGrey', 'Midnight', or 'RDark'; default: see config) format($code, $collapse, $firstline, $gutter, $ruler, $tooblar, $wrap, $theme, 'ColdFusion') erlang Highlight Erlang syntax source code to highlight Allows you to force highlighted elements on the page to be collapsed by default. Allows you to change the first (starting) line number. Allows you to turn gutter with line numbers on and off. Allows you to show column ruler on top of highlighted elements. Toggles toolbar on/off. Allows you to turn line wrapping feature on and off. Select color theme for highlighted text. (one of 'Default', 'Django', 'Eclipse', 'Emacs', 'FadeToGrey', 'Midnight', or 'RDark'; default: see config) format($code, $collapse, $firstline, $gutter, $ruler, $tooblar, $wrap, $theme, 'Erlang')