My favorites | Sign in
Project Home Downloads Wiki Source
Search
for
Languages  
List of supported languages.
Documentation, Featured
Updated Feb 4, 2010 by alex.gor...@gmail.com

Supported languages

Here's a list of supported languages and their aliases:

Language Aliases
C++ cpp, c, c++
C# c#, c-sharp, csharp
CSS css
Delphi delphi, pascal
Java java
Java Script js, jscript, javascript
PHP php
Python py, python
Ruby rb, ruby, rails, ror
Sql sql
VB vb, vb.net
XML/HTML xml, html, xhtml, xslt

See usage page on how to use aliaces.

Comment by jrguita...@gmail.com, Aug 23, 2007

is this language list at all extendable? instructions would be nice on how to add a language.

Comment by voodoo81...@gmail.com, Aug 29, 2007

I'm using it on Blogger. I've put the scripts on another site and I refer to them. The code works fine except for that introduces break lines tag <br> instead of putting the code on multiple line,it puts the code on one line and it's awful. What's the problem? thanks. Chris.

Comment by aira...@gmail.com, Aug 29, 2007

good

Comment by engtechn...@gmail.com, Sep 3, 2007

I'd love to see perl support

Comment by btedes...@gmail.com, Sep 6, 2007

php doesnt seem to work for me

Comment by support%...@gtempaccount.com, Sep 8, 2007

c-sharp works fine, but using the class sql or Sql does not do anything. Is SQL working?

Comment by support%...@gtempaccount.com, Sep 8, 2007

c-sharp works fine, but using the class sql or Sql does not do anything. Is SQL working?

Comment by awflas...@gmail.com, Sep 10, 2007

No ActionScript? supported :(

Comment by gthorn...@gmail.com, Sep 20, 2007

If you're adding languages, add my vote for Perl support. I'd love to see pf syntax too, but that's probably less common and less likely to happen.

Comment by paddy3...@gmail.com, Oct 25, 2007

(There is a spelling mistake of aliaCes instead of aliaSes in the maintext below the table).

- Paddy.

Comment by nevstokes, Nov 2, 2007

For those hankering after Perl support, here's my first attempt of a language file:

http://nevstokes.com/includes/syntax/scripts/shBrushPerl.js

- Nev

Comment by oli...@kfs.org, Nov 6, 2007

Has anyone worked on a Lua language file?

Comment by fio...@gmail.com, Nov 14, 2007

If you want to get one of the languages other than C-Sharp or XML, you need to include the proper file. For example, if you want PHP, do the following:

<script language="javascript" src="js/shBrushPhp.js"></script>

There is a file for each supported language so you will need to figure out which one you want to include for your language.

Comment by SunFun...@gmail.com, Dec 28, 2007

Respect! Script is cool! It was not pleasant, that sometimes, lines block each other. Excuse, for my bad English = (

Comment by sigmas...@gmail.com, Jan 24, 2008
Comment by chi3...@gmail.com, Feb 24, 2008

Is there any chance syntaxhighlighter will support matlab code in the future?

Comment by ryancdav...@gmail.com, Feb 25, 2008

has someone written an ActionScript? 2.0 or 3.0 brush?

Comment by bboy.mr....@gmail.com, Mar 8, 2008

i coded a script for bash support, the file is here: http://bboy.mr.freeze.googlepages.com/shBrushBash.js

Comment by trung...@gmail.com, Mar 31, 2008

Any plan to speed it up a bit

Comment by frozenan...@gmail.com, Apr 16, 2008

I second the request for Actionscript 3 support.

Comment by robby.oconnor, Apr 17, 2008

groovy support please? perhaps scala?

Comment by Lee.M1...@gmail.com, Apr 22, 2008

Pretty slick,

Definitely has to have perl and diff support before its ready for prime time.

Would be the only choice IMO if it had those

And div support instead of pre, pre tags are pretty lame (the need to encode the < and > manually is pretty sucky too) and "all" that'd need done is to HTML encode certain entities and safe-fy the white space, like http://search.cpan.org/perldoc?Text::InHTML does.

Comment by clau...@gmail.com, May 7, 2008

Anyone considering doing something for PowerShell? ?

Comment by evotur...@gmail.com, May 26, 2008

Patch files.. maybe?

Thanks! This is a great tool.

Comment by wbi...@gmail.com, May 29, 2008

Thank you ! This is a great tool ~!

Comment by IO.Relen...@googlemail.com, Jun 6, 2008

I am having some real trouble getting it to work with PHP is anyone else? and have they found a solution, it seems to work with every other language. Why not php?

<pre name="code" class="php"> <?php echo "HELP!"; ?> </pre>

Comment by ergo...@gmail.com, Jun 17, 2008

I would love to see objective-c support.

Comment by ffi...@gmail.com, Jun 26, 2008

Well, i am not sure if i did anything wrong, but i am having problems when i post lists type in Java, like List<Element>. Is that correct, the syntax highlighter does not support it?

Comment by dave.smi...@gmail.com, Jun 26, 2008

There are other options if you're language is not supported here. If you use emacs , there is an extention to htmlize your code. It should work with and language that has a mode for emacs: http://fly.srk.fer.hr/~hniksic/emacs/htmlize.el

This allows you to generate you're html up-front and paste it in.

Comment by fahd.sha...@gmail.com, Jul 18, 2008

It would be good if Whitespace could be added to the list

Comment by rafeeq.j...@googlemail.com, Jul 19, 2008

voodoo81people:

<br /> are added automatically in Blogger because, by default, it will add them for you.

Set the "Convert line breaks" under Settings -> Formatting to "No".

Comment by gocodeal...@gmail.com, Jul 23, 2008

Um, would you like to add the support for Fortran (what!).

I'm serious. I use programming techniques mainly to solve scientific problems, such as to find the numerical solution for a bizarre equation. Since then, I don't give much attention to OOP, yet. I use Fortran because of it's ability to manipulate external data file directly and generate the output as formatted matrix array.

So, anyone, is there someone have support for Fortran? Thank you, from the bottom of my heart.

p.s. Sorry for the hyperbolic language .. :)

Comment by mastera...@gmail.com, Aug 3, 2008

Please add AS2 and AS3... I beg you...

Comment by cl...@cliffordrwrobinson.com, Aug 12, 2008

Powerscript?

Comment by phroze...@gmail.com, Aug 16, 2008

I'd like to see some D support, in wouldn't be difficult now that you have c++ and Java in the list, and it would be nice :D

Comment by noesi...@googlemail.com, Aug 22, 2008

actionscript?? there are so many blogs out there needing that. bit of a mistery why it is not included!

Comment by terrab...@gmail.com, Aug 27, 2008

Has anyone of you a solution for syntaxhighliting in ObjC ? If so.. please post a download link! THX

Regards.

Comment by alcatra...@gmail.com, Sep 26, 2008

Muito bom, estou usando no site de repositório de códigos para desenvolvedores e analistas, server para muitas linguagens PHP, SQL, Delphi, JAVA, JavaScript?, .NET, www.mysafecode.net

Comment by pcn...@gmail.com, Oct 1, 2008

Thanks for this. I love it!

I've created a brush for DOS batch files, and it can be found here: http://pcnorb.blogspot.com/2008/10/shbrushbatch-for-google.html

Comment by fpar...@gmail.com, Aug 28, 2011

bash?

Comment by androide...@gmail.com, Sep 13, 2011

thanks for this. That´s a great service for everybody

Comment by mathieu....@gmail.com, Sep 15, 2011

if you can, R language would be appreciated too!

Comment by franzw...@gmail.com, Sep 17, 2011

is it possible to add a type "plain text"? because I want to make the layout consistent for the file content listing for my web

Comment by sbkand...@gmail.com, Dec 2, 2011

I'd love to be able to use Perl!!! Otherwise a fantastic resource.

Comment by duttasuv...@gmail.com, Jan 12, 2012

nice it..

www.123techguide.blogspot.com

Comment by joshua...@gmail.com, Jan 30, 2012

Sweet. please add bash support???

Comment by xuejian...@gmail.com, May 5, 2012

please add bash support

Comment by antoniop...@gmail.com, Jun 11, 2012

please add bash support

Comment by kuro....@gmail.com, Feb 18, 2013

+1 to bash support, please i really need it....

Comment by zeniya...@gmail.com, Jun 1, 2013

Convert VB to C# with VBConversions,the most accurate code translation tool available.more information then visit: www.vbconversions.com

<a href="http://www.vbconversions.com/">vb.net to c# converter</a>

Comment by zeniya...@gmail.com, Jun 1, 2013

Convert VB to C# with VBConversions,the most accurate code translation tool available.more information then visit: www.vbconversions.com

<a href="http://www.vbconversions.com">vb.net to c#</a>

Comment by zeniya...@gmail.com, Jul 12, 2013

Convert your VB programs to C# with over 99% accuracy with the VBConversions VB.Net to C# Converter, the most accurate VB.Net to C# Converter available. Free download available at www.vbconversions.com.

<a href="http://www.vbconversions.com/">convert vb.net to c#</a>

Comment by N4Nagar...@gmail.com, Aug 7, 2013

thanks a lot

Comment by mukulpos...@gmail.com, Sep 11, 2013

Sign in to add a comment
Powered by Google Project Hosting