Summary: Syntax highlighting with good look and cool JavaScript-effects
Version: 20170226 (0.3.1)
Maintainer: MatthiasGünther
Categories: Layout, PHP72
Download: see notes below
Users: +2 (View / Edit)

picture of the recipe

Questions answered by this recipe

How can I display highlighted code of several languages on my Wiki?


This recipe gives you the markup for embedding source code in your Wiki with syntax highlighting. Just follow the instruction of the installation and be happy :).


    $Array_Syntaxlove =
           array("Bash"   => "0", "CSharp" => "0", "Css"     => "0", "Delphi" => "0",
                 "Groovy" => "0", "Java"   => "1", "JScript" => "0", "Perl"   => "1",
                 "Php"    => "1", "Plain"  => "0", "Python" => "1",  "Ruby"   => "1",
                 "Scala"  => "0", "Sql"    => "0", "Vb"     => "0",  "Xml"    => "0");


Can be found under README.

See also

Cookbook /
Ape  Embed videos, maps, documents, and more in wiki pages (Stable)
Beautifier  Perform syntax highlighting for source code displayed on wiki pages
CodeMirror  An enhanced page editor for PmWiki (Stable)
Gists  Markup to allow easy embedding of syntax-highlighted github gists (active)
PITS  The PmWiki Issue Tracking System (Beta)
PmPygment  Display code highlighting using Python pygment (Stable)
Precode  General utility block markup for displaying codes with syntax highlighting (Active/Stable)
SourceBlock  Source code syntax highlighter for PmWiki 2.x using GeSHi (Stable)
ZCode  Extract and highlight source code files from 7z, TAR, ZIP, or RAR archives (Experimental)


See Syntaxlove-Talk - your comments are welcome there!

User notes +2: If you use, used or reviewed this recipe, you can add your name. These statistics appear in the Cookbook listings and will help newcomers browsing through the wiki.