Posts RSS Comments RSS 25 Posts and 50 Comments till now

X++ syntax highlighting

This is fun. With this new blog setup, syntax highlighting for X++ is available.

while select custTable
{
    print custTable.Name;
}
pause;

Thanks to Simon Butcher for making the X++ syntax file for Geshi.

5 Responses to “X++ syntax highlighting”

  1. on 05 Jul 2007 at 13:46Palle Agermark

    Cool – would something like this happen to exist for Google’s Blogger?

    Palle

  2. on 05 Jul 2007 at 17:43Björn

    I’m not sure. The problem with blog services like Blogger or Wordpress.com is that you are very limited in the way you can tune the blog.

    On Wordpress.com I couldn’t install a plugin for syntax highlighting. I don’t know what’s possible on Blogger. GeSHi is a generic PHP script, use is not limited to Wordpress or any other system. If there is a way you can upload scripts on your Blogger account it could work…

  3. on 12 Jul 2007 at 23:57Simon

    No problem Björn – it was a 5 minute job really!

  4. on 28 Sep 2007 at 22:40Ricardo Pichler

    I instaled the geshi in my wordpress but they don’t work. Where you found information about instalation?

    Congrats by your blog, help me so much!

    []s

  5. on 29 Sep 2007 at 7:29Björn

    If you want to run Geshi in Wordpress, you’ll need a plugin. Geshi is a generic syntax highlighter component. It isn’t specifically made for Wordpress. A plugin takes care of the Wordpress part.
    I use the WP-Syntax plugin (http://wordpress.org/extend/plugins/wp-syntax/). This includes Geshi, but you can update that and add syntax files.

    Also make sure that your plugins are compatible with the Wordpress version you’re using.

Trackback this post | Feed on Comments to this post

Leave a Reply