Posts for 23rd December 2010

Seth contacted me a few days ago about a problem he was having with the SyntaxHighlighter shipped with the standard FlatPress installation.

He had noticed the code fragments on this site were being correctly decorated, but could not get those on his site to appear correctly.

After several emails it transpired he was marking his code blocks with [code language=php] instead of [code=php]

A complete list of languages supported by SyntaxHighlighter follows...

  • c
  • cpp
  • c++
  • css
  • c#
  • c-sharp
  • csharp
  • vb
  • vb.net
  • delphi
  • pascal
  • js
  • jscript
  • javascript
  • php
  • py
  • python
  • ruby
  • sql
  • xml
  • xhtml
  • xslt
  • html
  • xhtml