CINXE.COM

GeSHi - Generic Syntax Highlighter :: Home

<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>GeSHi - Generic Syntax Highlighter :: Home</title> <link rel="stylesheet" type="text/css" href="./styles/stylesheet.php" /> <link rel="alternate" type="application/rss+xml" title="GeSHi News" href="./rss.xml.php" /> <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> <meta name="keywords" content="GeSHi, syntax, highlighter, colorizer, beautifier, code, generic, php, sql, css, html, syntax, highlighting" /> <meta name="description" content="GeSHi - Generic Syntax Highlighter for php. Highlight many languages, including PHP, CSS, HTML, SQL, Java and C for XHTML compliant output using this easy PHP Class. Every aspect of the highlighting is customisable, from colours and other styles to case-sensitivity checking and more. GeSHi - the best syntax highlighter in the world!" /> <style type="text/css"> /** * GeSHi (C) 2004 - 2007 Nigel McNie, 2007 - 2014 Benny Baumann * (http://qbnz.com/highlighter/ and http://geshi.org/) */ .vb {font-family:monospace;font-size: 95%; line-height: 120%; font-family: 'Courier New', Courier, monospace;} .vb a:link {color: #aad;} .vb a:hover {background-color: #d2d2d2;} .vb .imp {font-weight: bold; color: red;} .vb .kw1 {color: #F660AB; font-weight: bold;} .vb .kw2 {color: #E56717; font-weight: bold;} .vb .kw3 {color: #8D38C9; font-weight: bold;} .vb .kw4 {color: #151B8D; font-weight: bold;} .vb .kw5 {color: #00C2FF; font-weight: bold;} .vb .kw6 {color: #3EA99F; font-weight: bold;} .vb .co1 {color: #008000;} .vb .es0 {color: #800000; font-weight: bold;} .vb .st0 {color: #800000;} .vb span.xtra { display:block; } </style> </head> <body> <div><a id="top"></a></div> <table id="header"> <tr> <td id="top-left"> <a href="./index.php"><img src="./images/geshi.png" alt="GeSHi - Generic Syntax Highlighter for PHP" /></a> </td> <td id="top-right"> <img src="./images/title.png" alt="[GeSHi - syntax colorizer]" /> </td> </tr> </table> <table id="main"> <tr> <td rowspan="2" id="lhs-spacer">&nbsp;</td> <td rowspan="2" id="lhs"> <table id="left-nav"> <tr> <th>Navigation</th> </tr> <tr> <td> <a href="./index.php" title="The GeSHi Home Page">Home</a> <a href="./news.php" title="Find out the latest about GeSHi">News</a> <a href="./examples.php" title="View examples of GeSHi's power">Examples</a> <a href="./demo.php" title="Give GeSHi a test drive for yourself!">Demo</a> <a href="https://sourceforge.net/project/showfiles.php?group_id=114997" title="Download GeSHi">Downloads</a> <a href="./faq.php" title="Commonly asked questions about GeSHi">FAQ</a> <a href="./documentation.php" title="Read the GeSHi Documentation">Documentation</a> <a href="./lists.php" title="Discuss GeSHi with others">Mailing Lists</a> <a href="./license.php" title="The GeSHi License">License</a> </td> </tr> </table> <table id="promo"> <tr> <th>Support GeSHi!</th> </tr> <tr> <td> If you're using GeSHi, why not help GeSHi out? You can link to GeSHi with this image:<br /> <img src="./images/powered-by-geshi.png" alt="Powered by GeSHi" /><br /> <a href="./getcode.php" onclick="window.open('./getcode.php', '_getcode', 'height=70,resizable=yes,width=850,scrollbars=yes');return false;">Get the HTML</a><br /><br /> </td> </tr> </table> <table id="lhs-links"> <tr> <th>Donate for GeSHi</th> </tr> <tr> <td> <a href="https://flattr.com/thing/14645/GeSHi-Generic-Syntax-Highlighter"> <img src="https://api.flattr.com/button/button-compact-static-100x17.png" title="Flattr this" style="border: 0;" alt="Flattr this" /> </a><br /> <a href="https://sourceforge.net/"><img src="https://sourceforge.net/sflogo.php?group_id=114997&amp;type=1" alt="SourceForge.net Logo" /></a> <a href="https://sourceforge.net/donate/index.php?group_id=114997"><img src="https://images.sourceforge.net/images/project-support.jpg" alt="Support This Project" /></a><br /> <!-- <table id="hot-scripts" cellspacing="0"> <tr> <td> <form action="http://www.hotscripts.com/cgi-bin/rate.cgi" method="post"><div> <strong>If you like GeSHi, please rate it!</strong><br /> <input type="hidden" name="ID" value="37114" /> <input type="hidden" name="external" value="1" /> <select name="rate" size="1"> <option value="5" selected="selected">Excellent!</option> <option value="4">Very Good</option> <option value="3">Good</option> <option value="2">Fair</option> <option value="1">Poor</option> </select> <input name="submit" type="submit" value="Vote!" /> </div></form> </td> </tr> </table> --> </td> </tr> </table> <table id="project-status"> <tr> <th>Project Status</th> </tr> <tr> <td> The latest stable version of GeSHi is <strong>1.0.8.11</strong>, released on the 19th of Aug, 2012.<br /><br /> Supported Languages:<br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://en.wikipedia.org/wiki/ABAP">ABAP</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://www.actionscript.org/">Actionscript</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://en.wikipedia.org/wiki/Ada_(programming_language)">ADA</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://www.apache.org/">Apache Log</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://www.apple.com/macosx/features/applescript/">AppleScript</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://en.wikipedia.org/wiki/Advanced_Packaging_Tool">APT sources.list</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://en.wikipedia.org/wiki/Motorola_68000_family">ASM (m68k)</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://en.wikipedia.org/wiki/PIC16">ASM (pic16)</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://en.wikipedia.org/wiki/X86_assembly_language">ASM (x86)</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://en.wikipedia.org/wiki/Zilog_Z80#The_Z80_assembly_language">ASM (z80)</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://www.asp.net/">ASP</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://www.autoitscript.com/">AutoIT</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://en.wikipedia.org/wiki/Backus-Naur_form">Backus-Naur form</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://www.gnu.org/software/bash/bash.html">Bash</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://en.wikipedia.org/wiki/Basic4GL">Basic4GL</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://blitzbasic.com/">BlitzBasic</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://en.wikipedia.org/wiki/Brainfuck">Brainfuck</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://www.cprogramming.com/">C</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="#">C for Macs</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://en.wikipedia.org/wiki/C_Sharp_(programming_language)">C#</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://www.cplusplus.com/">C++</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="#">C++ (with QT)</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://www.intellicad.org/">CAD DCL</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://www.intellicad.org/">CadLisp</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://www.contextfreeart.org/wiki/">CFDG</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://en.wikipedia.org/wiki/Common_Intermediate_Language">CIL / MSIL</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://en.wikipedia.org/wiki/COBOL">COBOL</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://www.macromedia.com/software/coldfusion/">ColdFusion</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://www.w3.org/Style/">CSS</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://en.wikipedia.org/wiki/D_(programming_language)">D</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://www.borland.com/">Delphi</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://en.wikipedia.org/wiki/Diff_(Unix)">Diff File Format</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://div-arena.com/">DIV</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="#">DOS</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://en.wikipedia.org/wiki/DOT_language">DOT language</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://eiffel.com/">Eiffel</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://en.wikipedia.org/wiki/Fortran">Fortran</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://www.4js.com/en/b_genero/why.php">FourJ's Genero</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://www.freebasic.net/">FreeBasic</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://en.wikipedia.org/wiki/GNU_gettext">GetText</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://en.wikipedia.org/wiki/GLSL">glSlang</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://www.gamemaker.nl/">GML</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://en.wikipedia.org/wiki/Gnuplot">gnuplot</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://groovy.codehaus.org/">Groovy</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://haskell.org/">Haskell</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://www.cliff.biffle.org/esoterica/hq9plus.html">HQ9+</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://www.w3.org/TR/REC-html40/">HTML</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://en.wikipedia.org/wiki/INI_file">INI (Config Files)</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://www.jrsoftware.org/isinfo.php">Inno</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://en.wikipedia.org/wiki/Intercal">INTERCAL</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://www.iolanguage.com/about/">IO</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://java.sun.com/">Java</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://java.sun.com/">Java 5</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://www.javascript.com/">Javascript</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://www.kixtart.org/">KiXtart</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://www.koanlogic.com/klone/index.html">KLone C &amp; C++</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://www.latex-project.org/">LaTeX</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://www.lisp.org/">Lisp</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://lolcode.com/">LOLcode</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://en.wikipedia.org/wiki/LotusScript">LotusScript</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://www.battlestarvfx.com/lightwaveSDK/LscriptIndex.html">LScript</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://www.lua.org/">Lua</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://en.wikipedia.org/wiki/Make_(software)">Make</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://mirc.com/">mIRC</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://en.wikipedia.org/wiki/MXML">MXML</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://mysql.com/">MySQL</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://nsis.sourceforge.net/">NSIS</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://en.wikipedia.org/wiki/Objective_C">Objective C</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://caml.inria.fr/">OCaml</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://www.openoffice.org/">OpenOffice BASIC</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://www.oracle.com/">Oracle 8 &amp; 11 SQL</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://en.wikipedia.org/wiki/Pascal_(programming_language)">Pascal</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://www.perl.com/">Perl</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://www.php.net/">PHP</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://labs.adobe.com/wiki/index.php/Pixel_Bender_Toolkit">Pixel Bender</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://en.wikipedia.org/wiki/PL/SQL">PL/SQL</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://www.povray.org/">POV-Ray</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://en.wikipedia.org/wiki/Windows_PowerShell">PowerShell</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://en.wikipedia.org/wiki/OpenEdge_Advanced_Business_Language">Progress (OpenEdge ABL)</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://en.wikipedia.org/wiki/Prolog">Prolog</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://en.wikipedia.org/wiki/ProvideX">ProvideX</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://www.python.org/">Python</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://qbnz.com/">Q(uick)BASIC</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://www.robotstxt.org/wc/norobots.html">robots.txt</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://ruby-lang.org/">Ruby</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://www.rubyonrails.com/">Ruby on Rails</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://en.wikipedia.org/wiki/SAS_programming_language">SAS</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://en.wikipedia.org/wiki/Scala_(programming_language)">Scala</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://schemers.org/">Scheme</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://en.wikipedia.org/wiki/Scilab">Scilab</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://sdlbasic.sf.net/">SDLBasic</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://en.wikipedia.org/wiki/Smalltalk_programming_language">Smalltalk</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://smarty.php.net/">Smarty</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://en.wikipedia.org/wiki/SQL">SQL</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="#">T-SQL</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://www.tcl.tk/">TCL</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://www.thinbasic.com/">thinBasic</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://en.wikipedia.org/wiki/TYPO3">TypoScript</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://wiki.services.openoffice.org/wiki/Uno/Article/Understanding_Uno">Uno IDL</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://msdn.microsoft.com/">VB.NET</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://en.wikipedia.org/wiki/Verilog">Verilog</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://en.wikipedia.org/wiki/VHDL">VHDL</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://www.vim.org/">VIM Script</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://msdn.microsoft.com/vbasic/">Visual BASIC</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://msdn.microsoft.com/vfoxpro/">Visual Fox Pro</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://www.visual-prolog.com/">Visual Prolog</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://en.wikipedia.org/wiki/Whitespace_(programming_language)">Whitespace</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://winbatch.com/">Winbatch</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://en.wikipedia.org/wiki/Windows_Registry#.REG_files">Windows Registry Files</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://msdn2.microsoft.com/en-us/library/aa867122.aspx">X++</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://www.xml.com/">XML</a><br /> <img src="./images/nav-default.gif" alt="*" /><a href="http://en.wikipedia.org/wiki/Xorg.conf">Xorg.conf</a><br /> <br /> GeSHi 1.0.8.11 is the current stable release, with eighteen new languages and bug fixes over the last release.<br /><br /> GeSHi 1.1.2alpha5 is the current latest version from the development branch, with full C support (see the <a href="http://geshi.org/">GeSHi development website</a>). </td> </tr> </table> <table> <tr> <th>Subscribe</th> </tr> <tr> <td> <a href="rss.xml.php"><img src="images/rss2.gif" alt="RSS 2" /></a> <br /> <a href="https://sourceforge.net/mail/?group_id=114997">Mailing Lists</a> </td> </tr> </table> <!-- <table> <tr> <th>Freshmeat</th> </tr> <tr> <td> <a href="https://freshmeat.net/projects/geshi/">Project Record</a><br /> <strong>Vitality:</strong> <span style="cursor:help;" title="%, rank "></span><br /> <strong>Popularity:</strong> <span style="cursor:help;" title="%, rank "></span><br /> <strong>Rating:</strong> <span style="cursor:help;" title=" votes, rank "></span><br /> <strong>Subscriptions:</strong> </td> </tr> </table> --> </td> <td id="top-nav"> <a href="./index.php" title="The GeSHi Home Page">Home</a><a href="./news.php" title="Find out the latest about GeSHi">News</a><a href="./examples.php" title="View examples of GeSHi's power">Examples</a><a href="./demo.php" title="Give GeSHi a test drive for yourself!">Demo</a><a href="https://sourceforge.net/project/showfiles.php?group_id=114997" title="Download GeSHi">Downloads</a><a href="./faq.php" title="Commonly asked questions about GeSHi">FAQ</a><a href="./documentation.php" title="Read the GeSHi Documentation">Documentation</a><a href="./lists.php" title="Discuss GeSHi with others">Mailing Lists</a><a href="./license.php" title="The GeSHi Licence" id="last-link">License</a>&nbsp; </td> </tr> <tr> <td id="content"> <div id="info-box">1:57 am GMT</div> <h3>GeSHi - Generic Syntax Highlighter</h3> Welcome to the home of the Generic Syntax Highlighter - <abbr>GeSHi</abbr>. GeSHi started as an idea to create a generic syntax highlighter for the <abbr>phpBB</abbr> forum system, but has been generalised to this project. GeSHi aims to be a simple but powerful highlighting class, with the following goals:<br /> <ul><li>Support for a wide range of popular languages</li><li>Easy to add a new language for highlighting</li><li>Highly customisable output formats</li></ul><br /> GeSHi aims to do this all as quickly as possible. Many customisable features of GeSHi facilitate speed increases, and you can easily find a balance between the amount of highlighting done and the speed in which it is done.<br /> <br /> GeSHi supports PHP5 and Windows, and has even been used to highlight code on ASP pages. Numerous blogs, wikis and forums use GeSHi, including Dokuwiki, Mambo, phpBB and WikkaWiki.<br /> <br /> GeSHi is an <a href="http://www.phpclasses.org/winners.html">award winning</a> piece of software - so you know you&#039;re using a top quality product. <br />&nbsp;<hr /> <table> <tr> <td id="index-lhs"> <h4>Latest News</h4> <div class="news-item"> <h6><a href="news.php?id=135">GeSHi 1.0.9.0 Released</a></h6> <span class="news-date">2017/05/13</span><br /> In parallel to the previous release, I&#039;m happy to provide you this release of GeSHi which is the first one targeting PHP7. I has NO new languages as those were all bundled with the previous release already.<br /> <br /> This release includes only bugfixes for proper support of PHP 7. Although it likely runs on PHP 5 there will be no support to PHP versions prior to PHP 7. Some more details can be found in the <a href="CHANGES">changelog</a>.<br /> <br /> As already noted previously there&#039;s still the problem with PCRE not working properly with some large sources: As I&#039;m not a developer of PCRE, but a mere user I ask you to report issues with PCRE crashes upstream to them, not me.<br /> <br /> More information on current GeSHi developement can be found in <a href="http://blog.benny-baumann.de/?cat=3">the GeSHi corner of my blog</a>.<br /> <br /> Download from the usual place, bug reports to the sf.net tracker please etc. etc...<br /> <br /> BenBE.<br /> <br /><br /> </div> <div class="news-item"> <h6><a href="news.php?id=134">GeSHi 1.0.8.13 Released</a></h6> <span class="news-date">2017/05/13</span><br /> After even more has passed I&#039;m happy to finally announce this new release of GeSHi with loads of new languages, some minor parser tweaks and fixes to existing language files. It adds 14 more languages thus making a total of 251 supported languages.<br /> <br /> This release includes two minor bugfixes. It is also the last version to be compatible with PHP 4 and support for PHP 5. Some more details can be found in the <a href="CHANGES">changelog</a>.<br /> <br /> As already noted previously there&#039;s still a problem with PCRE not working properly with some large sources: As I&#039;m not a developer of PCRE, but a mere user I ask you to report issues with PCRE crashes upstream to them, not me.<br /> <br /> More information on current GeSHi developement can be found in <a href="http://blog.benny-baumann.de/?cat=3">the GeSHi corner of my blog</a>.<br /> <br /> Download from the usual place, bug reports to the sf.net tracker please etc. etc...<br /> <br /> BenBE.<br /> <br /><br /> </div> <div class="news-item"> <h6><a href="news.php?id=133">GeSHi 1.0.8.12 Released</a></h6> <span class="news-date">2014/11/03</span><br /> Again quite some time has passed but here it is: the new release of GeSHi with loads of new languages, some minor parser tweaks and fixes to existing language files. It adds 18 more languages thus making a total of 237 supported languages.<br /> <br /> This release includes two minor bugfixes for the contrib scripts shipped with GeSHi which allowed for Cross-Site Scripting. Thus if you have the contrib scripts installed it is strongly advised to update ASAP. Some more details can be found in the <a href="CHANGES">changelog</a>.<br /> <br /> As already noted previously there&#039;s still a problem with PCRE not working properly with some large sources: As I&#039;m not a developer of PCRE, but a mere user I ask you to report issues with PCRE crashes upstream to them, not me.<br /> <br /> More information on current GeSHi developement can be found in <a href="http://blog.benny-baumann.de/?cat=3">the GeSHi corner of my blog</a>.<br /> <br /> Download from the usual place, bug reports to the sf.net tracker please etc. etc...<br /> <br /> BenBE.<br /> <br /><br /> </div> <div class="news-item"> <h6><a href="news.php?id=132">GeSHi on GitHub</a></h6> <span class="news-date">2013/11/16</span><br /> Since this week GeSHi has migrated to use <a href="https://en.wikipedia.org/wiki/Git_(software)">Git</a> for version control of the source code. Parallel to this move the source code hosting has moved away from <a href="http://sf.net/">SourceForge</a> to <a href="https://github.com/GeSHi/">GitHub</a> Thus the old code at SourceForge is there only for historical reasons and will no longer be updated.<br /> <br /> You can find more details on this change <a href="https://blog.benny-baumann.de/?p=1519">in my blog</a>.<br /><br /> </div> <div class="news-item"> <h6><a href="news.php?id=131">GeSHi Website available encrypted</a></h6> <span class="news-date">2012/11/25</span><br /> I recently decided to make the GeSHi website available via SSL as a related project requires use of SSL anyway. Currently I&#039;m not yet forcing SSL, but if you connected successfully via SSL once you&#039;ll use it automatically for the next six months due to <a href="http://en.wikipedia.org/wiki/HTTP_Strict_Transport_Security">HSTS</a>.<br /> <br /> The reason I&#039;m currently not enforcing is that as the used Certification Authority <a href="http://cacert.org">CAcert</a> is not in the trusted store of Mozilla and Internet Explorer (although the second is not relevant to me) you&#039;d probably get alot of confusing warnings. Thus as of now you should make a conscious choice to use the encrypted version of this website. If you do and you get an error &quot;Issuer not trusted&quot; please check the Certificate or verify the <a href="http://www.cacert.org/index.php?id=3">Root Certificate of CAcert</a> is installed properly.<br /> <br /> This change is available for <a href="https://qbnz.com/">qbnz.com</a> and <a href="https://geshi.org/">geshi.org</a>.<br /><br /> </div> <a href="news.php">News Archive</a> </td> <td id="index-rhs"> <h4>Random Screenshot</h4> <a href="images/screenshots/screen2.png"><img src="images/screenshots/small2.png" alt="[small2.png: Click for a larger view]" /></a> <br /><!--<div style="text-align: center;"><a href="gallery.php">More Screenshots</a></div>--> <h4>Demonstration</h4> <form action="php_highlighter.php" method="post"> <div> <textarea name="source" rows="14" cols="50"></textarea><br /> <div id="demo-form"> Language:&nbsp;<select name="language"> <option value="4cs">GADV 4CS</option> <option value="6502acme">MOS 6502 (6510) ACME Cross Assembler format</option> <option value="6502kickass">MOS 6502 (6510) Kick Assembler format</option> <option value="6502tasm">MOS 6502 (6510) TASM/64TASS 1.46 Assembler format</option> <option value="68000devpac">Motorola 68000 - HiSoft Devpac ST 2 Assembler format</option> <option value="abap">ABAP</option> <option value="actionscript">ActionScript</option> <option value="actionscript3">ActionScript 3</option> <option value="ada">Ada</option> <option value="aimms">AIMMS3</option> <option value="algol68">ALGOL 68</option> <option value="apache">Apache configuration</option> <option value="applescript">AppleScript</option> <option value="apt_sources">Apt sources</option> <option value="arm">ARM ASSEMBLER</option> <option value="asm">ASM</option> <option value="asp">ASP</option> <option value="asymptote">asymptote</option> <option value="autoconf">Autoconf</option> <option value="autohotkey">Autohotkey</option> <option value="autoit">AutoIt</option> <option value="avisynth">AviSynth</option> <option value="awk">awk</option> <option value="bascomavr">BASCOM AVR</option> <option value="bash">Bash</option> <option value="basic4gl">Basic4GL</option> <option value="batch">Windows Batch file</option> <option value="bf">Brainfuck</option> <option value="biblatex">BibTeX</option> <option value="bibtex">BibTeX</option> <option value="blitzbasic">BlitzBasic</option> <option value="bnf">bnf</option> <option value="boo">Boo</option> <option value="c">C</option> <option value="c_loadrunner">C (LoadRunner)</option> <option value="c_mac">C (Mac)</option> <option value="c_winapi">C (WinAPI)</option> <option value="caddcl">CAD DCL</option> <option value="cadlisp">CAD Lisp</option> <option value="ceylon">Ceylon</option> <option value="cfdg">CFDG</option> <option value="cfm">ColdFusion</option> <option value="chaiscript">ChaiScript</option> <option value="chapel">Chapel</option> <option value="cil">CIL</option> <option value="clojure">Clojure</option> <option value="cmake">CMake</option> <option value="cobol">COBOL</option> <option value="coffeescript">CoffeeScript</option> <option value="cpp">C++</option> <option value="cpp-qt" class="sublang">&nbsp;&nbsp;C++ (Qt)</option> <option value="cpp-winapi" class="sublang">&nbsp;&nbsp;C++ (WinAPI)</option> <option value="csharp">C#</option> <option value="css">CSS</option> <option value="cuesheet">Cuesheet</option> <option value="d">D</option> <option value="dart">Dart</option> <option value="dcl">DCL</option> <option value="dcpu16">DCPU-16 Assembly</option> <option value="dcs">DCS</option> <option value="delphi">Delphi</option> <option value="diff">Diff</option> <option value="div">DIV</option> <option value="dos">DOS</option> <option value="dot">dot</option> <option value="e">E</option> <option value="ecmascript">ECMAScript</option> <option value="eiffel">Eiffel</option> <option value="email">eMail (mbox)</option> <option value="epc">EPC</option> <option value="erlang">Erlang</option> <option value="euphoria">Euphoria</option> <option value="ezt">EZT</option> <option value="f1">Formula One</option> <option value="falcon">Falcon</option> <option value="fo">FO (abas-ERP)</option> <option value="fortran">Fortran</option> <option value="freebasic">FreeBasic</option> <option value="freeswitch">FreeSWITCH</option> <option value="fsharp">F#</option> <option value="gambas">GAMBAS</option> <option value="gdb">GDB</option> <option value="genero">genero</option> <option value="genie">Genie</option> <option value="gettext">GNU Gettext</option> <option value="glsl">glSlang</option> <option value="gml">GML</option> <option value="gnuplot">Gnuplot</option> <option value="go">Go</option> <option value="groovy">Groovy</option> <option value="gwbasic">GwBasic</option> <option value="haskell">Haskell</option> <option value="haxe">Haxe</option> <option value="hicest">HicEst</option> <option value="hq9plus">HQ9+</option> <option value="html4strict">HTML</option> <option value="html5">HTML5</option> <option value="icon">Icon</option> <option value="idl">Uno Idl</option> <option value="ini">INI</option> <option value="inno">Inno</option> <option value="intercal">INTERCAL</option> <option value="io">Io</option> <option value="ispfpanel">ISPF Panel</option> <option value="j">J</option> <option value="java">Java</option> <option value="java5">Java(TM) 2 Platform Standard Edition 5.0</option> <option value="javascript">Javascript</option> <option value="jcl">JCL</option> <option value="jquery">jQuery</option> <option value="julia">Julia</option> <option value="kixtart">KiXtart</option> <option value="klonec">KLone C</option> <option value="klonecpp">KLone C++</option> <option value="kotlin">Kotlin</option> <option value="latex">LaTeX</option> <option value="lb">Liberty BASIC</option> <option value="ldif">LDIF</option> <option value="lisp">Lisp</option> <option value="llvm">LLVM Intermediate Representation</option> <option value="locobasic">Locomotive Basic</option> <option value="logtalk">Logtalk</option> <option value="lolcode">LOLcode</option> <option value="lotusformulas">Lotus Notes @Formulas</option> <option value="lotusscript">LotusScript</option> <option value="lscript">LScript</option> <option value="lsl2">LSL2</option> <option value="lua">Lua</option> <option value="m68k">Motorola 68000 Assembler</option> <option value="magiksf">MagikSF</option> <option value="make">GNU make</option> <option value="mapbasic">MapBasic</option> <option value="mathematica">Mathematica</option> <option value="matlab">Matlab M</option> <option value="mercury">Mercury</option> <option value="metapost">MetaPost</option> <option value="mirc">mIRC Scripting</option> <option value="mk-61" class="sublang">&nbsp;&nbsp;袦袣-61/52</option> <option value="mmix">MMIX</option> <option value="modula2">Modula-2</option> <option value="modula3">Modula-3</option> <option value="mpasm">Microchip Assembler</option> <option value="mxml">MXML</option> <option value="mysql">MySQL</option> <option value="nagios">Nagios</option> <option value="netrexx">NetRexx</option> <option value="newlisp">newlisp</option> <option value="nginx">nginx</option> <option value="nimrod">Nimrod</option> <option value="nsis">NSIS</option> <option value="oberon2">Oberon-2</option> <option value="objc">Objective-C</option> <option value="objeck">Objeck Programming Language</option> <option value="ocaml">OCaml</option> <option value="ocaml-brief" class="sublang">&nbsp;&nbsp;OCaml (brief)</option> <option value="octave">GNU/Octave</option> <option value="oobas">OpenOffice.org Basic</option> <option value="oorexx">ooRexx</option> <option value="oracle11">Oracle 11 SQL</option> <option value="oracle8">Oracle 8 SQL</option> <option value="oxygene">Oxygene</option> <option value="oz">OZ</option> <option value="parasail">ParaSail</option> <option value="parigp">PARI/GP</option> <option value="pascal">Pascal</option> <option value="pcre">PCRE</option> <option value="per">per</option> <option value="perl">Perl</option> <option value="perl6">Perl 6</option> <option value="pf">OpenBSD Packet Filter</option> <option value="phix">Phix</option> <option value="php">PHP</option> <option value="php-brief" class="sublang">&nbsp;&nbsp;PHP (brief)</option> <option value="pic16">PIC16</option> <option value="pike">Pike</option> <option value="pixelbender">Pixel Bender 1.0</option> <option value="pli">PL/I</option> <option value="plsql">PL/SQL</option> <option value="postgresql">PostgreSQL</option> <option value="postscript">PostScript</option> <option value="povray">POVRAY</option> <option value="powerbuilder">PowerBuilder</option> <option value="powershell">PowerShell</option> <option value="proftpd">ProFTPd configuration</option> <option value="progress">Progress</option> <option value="prolog">Prolog</option> <option value="properties">PROPERTIES</option> <option value="providex">ProvideX</option> <option value="purebasic">PureBasic</option> <option value="pycon">Python (console mode)</option> <option value="pys60">Python for S60</option> <option value="python">Python</option> <option value="q">q/kdb+</option> <option value="qbasic">QBasic/QuickBASIC</option> <option value="qml">QML</option> <option value="racket">Racket</option> <option value="rails">Rails</option> <option value="rbs">RBScript</option> <option value="rebol">REBOL</option> <option value="reg">Microsoft Registry</option> <option value="rexx">rexx</option> <option value="robots">robots.txt</option> <option value="roff">roff</option> <option value="rpmspec">RPM Specification File</option> <option value="rsplus">R / S+</option> <option value="ruby">Ruby</option> <option value="rust">Rust</option> <option value="sas">SAS</option> <option value="sass">Sass</option> <option value="scala">Scala</option> <option value="scheme">Scheme</option> <option value="scilab">SciLab</option> <option value="scl">SCL</option> <option value="sdlbasic">sdlBasic</option> <option value="smalltalk">Smalltalk</option> <option value="smarty">Smarty</option> <option value="spark">SPARK</option> <option value="sparql">SPARQL</option> <option value="sql">SQL</option> <option value="sshconfig">sshconfig</option> <option value="standardml">StandardML</option> <option value="stonescript">StoneScript</option> <option value="swift">Swift</option> <option value="systemverilog">SystemVerilog</option> <option value="tcl">TCL</option> <option value="tclegg">TCLEGG</option> <option value="teraterm">Tera Term Macro</option> <option value="texgraph">TeXgraph</option> <option value="text">Text</option> <option value="thinbasic">thinBasic</option> <option value="tsql">T-SQL</option> <option value="twig">Twig</option> <option value="typoscript">TypoScript</option> <option value="unicon">Unicon (Unified Extended Dialect of Icon)</option> <option value="upc">UPC</option> <option value="urbi">Urbi</option> <option value="uscript">Unreal Script</option> <option value="vala">Vala</option> <option value="vb">Visual Basic</option> <option value="vbnet">vb.net</option> <option value="vbscript">VBScript</option> <option value="vedit">Vedit macro language</option> <option value="verilog">Verilog</option> <option value="vhdl">VHDL</option> <option value="vim">Vim Script</option> <option value="visualfoxpro">Visual Fox Pro</option> <option value="visualprolog">Visual Prolog</option> <option value="whitespace">Whitespace</option> <option value="whois">Whois (RPSL format)</option> <option value="winbatch">Winbatch</option> <option value="wolfram">Wolfram</option> <option value="xbasic">XBasic</option> <option value="xml">XML</option> <option value="xojo">Xojo</option> <option value="xorg_conf">Xorg configuration</option> <option value="xpp">X++</option> <option value="yaml">YAML</option> <option value="z80">ZiLOG Z80 Assembler</option> <option value="zxbasic">ZXBasic</option> </select>&nbsp; <input type="hidden" name="default_color" value="000099" /><input type="hidden" name="line_numbers" value="1" /><input type="hidden" name="highlight_keywords" value="1" /><input type="hidden" name="tab_width" value="8" /> <input type="submit" value="Highlight!" /> </div> </div> </form> <h4>Runtime Example</h4> <div id="runtime-example"> <div class="vb"><span class="kw3">Do</span><br /> &nbsp; &nbsp; <span class="kw3">DoEvents</span><br /> &nbsp; &nbsp; Form1.SetFocus<br /> &nbsp; &nbsp; PSet (Snakex, Snakey), vbGreen<br /> &nbsp; &nbsp; <span class="kw4">Line</span> (applex - 3, appley - 5)-(applex + 3, appley), vbGreen + 1, BF<br /> &nbsp; &nbsp; <span class="kw4">Line</span> (applex, appley)-(applex + 10, appley + 10), applecolor, BF<br /> &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">For</span> i = 1 <span class="kw3">To</span> delay: <span class="kw3">Next</span><br /> &nbsp; &nbsp; &nbsp; &nbsp; Snakex = Snakex + SnakexMov<br /> &nbsp; &nbsp; &nbsp; &nbsp; Snakey = Snakey + SnakeyMov<br /> &nbsp; &nbsp; &nbsp; &nbsp; colortest = Point(Snakex + SnakexMov, Snakey + SnakeyMov)<br /> &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">If</span> colortest = vbGreen + 1 <span class="kw3">Or</span> colortest = applecolor <span class="kw3">Then</span><br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw4">Line</span> (applex - 3, appley - 5)-(applex + 10, appley + 10), vbWhite, BF<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="co1">'Line (10, 10)-(750, 750), vbWhite, BF</span><br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; score = score + 10<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; delay = delay - 10000<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">If</span> score &gt; 30 <span class="kw3">And</span> score &lt; 60 <span class="kw3">Then</span> delay = delay + 5000<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">If</span> score &gt; 60 <span class="kw3">Then</span> delay = delay + 7500<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; applex = Int(600 * Rnd) + 10<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; appley = Int(600 * Rnd) + 10<br /> &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">ElseIf</span> colortest &lt;&gt; vbWhite <span class="kw3">Then</span><br /> &nbsp; &nbsp; &nbsp; &nbsp; Label1.Left = 250<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Label1.ForeColor = vbBlack<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Label1.BackColor = vbWhite<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Label1.Caption = <span class="st0">&quot; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; You Lose &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;</span> &amp; Chr(10) &amp; <span class="st0">&quot; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Your Score was: &nbsp;&quot;</span> &amp; score &amp; <span class="st0">&quot;&quot;</span> &amp; Chr(10) &amp; <span class="st0">&quot;Press 'Enter' to play again and 'Esc' to exit&quot;</span><br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Label1.AutoSize = <span class="kw5">True</span><br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">Exit</span> <span class="kw3">Do</span><br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">Exit</span> <span class="kw2">Sub</span><br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">End</span><br /> &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">End</span> <span class="kw3">If</span><br /> <span class="kw3">Loop</span></div> </div> </td> </tr> </table> </td> </tr> </table> <div id="footer"> <a href="./index.php" title="The GeSHi Home Page">Home</a> | <a href="./news.php" title="Find out the latest about GeSHi">News</a> | <a href="./examples.php" title="View examples of GeSHi's power">Examples</a> | <!--<a href="" title="View screenshots of GeSHi">Gallery</a> | --><a href="./demo.php" title="Give GeSHi a test drive for yourself!">Demo</a> | <a href="https://sourceforge.net/project/showfiles.php?group_id=114997" title="Download GeSHi">Downloads</a> | <a href="./faq.php" title="Commonly asked questions about GeSHi">FAQ</a> | <a href="./documentation.php" title="Read the GeSHi Documentation">Documentation</a> | <a href="./lists.php" title="Discuss GeSHi with others">Mailing Lists</a> | <a href="./license.php" title="The GeSHi License">License</a><br /> GeSHi by &copy; 2004-2007 <a href="http://nigel.mcnie.name/">Nigel McNie</a>, &copy; 2007-2014 <a href="https://blog.benny-baumann.de/">Benny Baumann</a>, &copy; 2008-2009 <a href="http://milianw.de/">Milian Wolff</a><br /> GeSHi is released under the GNU GPLv2<br /> 6 queries, parsed in 0.478 seconds<br /> Wow! GeSHi has been around for over 180536 hours!<br /> <a href="http://validator.w3.org/check?uri=referer"><img src="./images/valid_html50.png" alt="Valid HTML 5.0!" /></a> <a href="http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fqbnz.com%2Fhighlighter%2F"><img src="./images/valid_css3.png" alt="Valid CSS3!" /></a> <a href="http://ipv6-test.com/validate.php?url=referer"><img src="./images/ipv6ready.png" alt="IPv6 ready" title="IPv6 ready" /></a> <a href="https://cacert.org"><img src="./images/secured-by-cacert.png" alt="CAcert" title="CAcert" /></a> <a href="http://www.spreadfirefox.com/?q=affiliates&amp;id=40309&amp;t=178"><img style="border:none;" alt="Get Thunderbird!" title="Get Thunderbird!" src="./images/thunderbird.png"/></a> <a href="http://www.spreadfirefox.com/?q=affiliates&amp;id=40309&amp;t=85"><img style="border:none;" alt="Get Firefox!" title="Get Firefox!" src="./images/firefox.png"/></a><br /> <a href="http://qbnz.com/profile.php"><!-- contact data --></a> </div> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10