Syntax Highlighter Release 0.2 Beta

Thanks to a great deal of interest on my post on syntax highlighting in BlogEngine.NET a while ago I'm now releasing a new version. It is based on the version that ships with BlogEngine.NET but it has been augmented as well as refactored to support more language elements like types in C#. The code formatter has been extracted and the new version is released through CodePlex.

Additional features compared to version 0.1

  • Highlighting of types in C#
  • Architecture to support additional language elements

Syntax Highlighter Extension

  • The code block is recognized anywhere in the blog post and does not require any special formatting before or after the code tags
Download

I will start a series of blog posts on using and developing the new version. I thank those who have shown interest.

Comments (15) -

  • Jesper Lunc Stocholm

    2008-05-07 13:52:54 | Reply

    This looks really good and I am looking forward to investigating it in detail. Thanks for the contribution!

    But the list of supported languages on CodePlex only lists a few - does this mean that the huge list of other languages (like XML) are no longer supported?

  • naspinski

    2008-05-08 04:06:38 | Reply

    Thank you for this, it's great!!!

  • Rickard

    2008-05-08 08:40:11 | Reply

    But the list of supported languages on CodePlex only lists a few - does this mean that the huge list of other languages (like XML) are no longer supported?


    That huge list is not part of the BlogEngine.NET release. However, it should be easy enough to incorporate any onther language as long as it follows the originial architecture.

  • Tahir Khalid

    2008-10-01 00:55:32 | Reply

    Hi Rickard, thank you for replying to my humble blog ;)

    I currently in a testing phase with this version of the blog to get comfortable and confident that it works the way I want it to and I am able to plug in features such as your Syntax Highlighter extension.

    I look forward to implementing the new release, keep up the good work.

  • Jack

    2008-11-08 13:44:09 | Reply

    How can i show line numbers?

  • Rickard

    2008-11-10 07:36:13 | Reply

    Line numbers are not supported in the current release. It may be in the future.

  • Tim

    2008-12-27 18:12:26 | Reply

    Do you have this in a working for that does not require BlogEngine.Net? I've checked out the source and it's very nice god work on it so far.

  • Rickard

    2008-12-28 23:16:09 | Reply

    @Tim: Thanks for the positive feedback.

    To answer your question - there are no application of Syntax Highlighter, as far as I know, to other systems part from BlogEngine.NET.

    If you make one I welcome you to submit a patch and I will consider incorporating it into future releases. Go to Codeplex and follow the instructions for submitting patches.

    /Rickard

  • Franchises

    2009-04-28 13:22:41 | Reply

    Heya - Just looking through some blogengine.net blogs, seems to be a fairly nice platform, certainly better than blogger but still playing with the idea of wordpress.  Any major plus points you have found over WP at all?

    Thanks

    Matthew

  • Rickard

    2009-04-28 13:45:41 | Reply

    @Franchises besides being built upon .Net using a real programming language like C#? Seriously, my requrements for a blog platform was that I wanted to be able to customize it as I saw fit. I could have done it with WP but who wants to write PHP if there's a choice? Really?

  • Franchises for sale

    2009-06-09 22:16:46 | Reply

    It's interesting, the blog engine platform seems very variable in form.  My design skills are not so good as my C coding though, I would be interested in seeing what additional skins you can get for it.  Nice blog btw, best wishes for it and keep up the posts. Smile  Kind regards,  Peter sims.

  • SEO

    2009-07-02 09:14:01 | Reply

    Nice post.I currently in a testing phase with this version of the blog to get comfortable and confident that it works the way I want it to...

  • club penguin cheats

    2009-07-09 07:36:53 | Reply

    The list of supported languages on CodePlex only lists a few - does this mean that the huge list of other languages (like XML) are no longer supported?

  • Emo Clothes

    2009-07-14 08:23:25 | Reply

    I currently in a testing phase with this version of the blog to get comfortable and confident that it works the way I want it to and I am able to plug in features such as your Syntax Highlighter extension. I look forward to implementing the new release. Emo Clothes

  • homeserve boiler

    2009-08-07 10:01:53 | Reply

    "it has been augmented as well as refactored to support more language elements like types in C#" as C~ is heavily typed will this work in weaker type implementations such as php or is this restricted by the ASP platform?

Loading
Disclaimer: The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.