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
December 23, 2010

Add a comment

Comments

  • Thanks for providing such information about using languages in plugin and I will keep in my mind while using plugin
    Written on July 28, 2011 by kamran
  • code language=code lang that great.. i dont know about it on my blog..

    thanks.
    Written on July 15, 2012 by Hadian