RamblingRoss
The blog of Ross Fruen, a .NET consultant

Selecting the correct language in SyntaxHighlighter plugin

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...

Comments

  1. Thanks for providing such information about using languages in plugin and I will keep in my mind while using plugin

    - Written on 28th July 2011 by kamran
  2. code language=code lang that great.. i dont know about it on my blog..

    thanks.

    - Written on 15th July 2012 by Hadian

Add a comment

If you want your comment to appear on this page please complete the form below. Your name and email address are optional, although the latter will be required if you want a response. Your email address will not appear against your comment and will only be used to correspond with yourself (where appropriate).

Thanks!

Thank you for submitting your comment, it will appear here after moderation is complete.

Sorry

There was a problem sending your comment, please try again.