Sign in
  • Blog
  • Archive
  • About
  • Contact

Welcome to rickardnilsson.net

 

rickardnilsson.net is a weblog and the online home of web developer and father of three, Rickard Nilsson... More

Rickard blogs about creating software solutions using ASP.NET and agile practices.

Sites I've visited recently

Rtur.net / ASP.NET Forums / Karstad .NET User Group / JetBrains ReSharper / Scott Hanselman / dnrTV! / MSDN Radio / MIX'08 | Sessions / BlogEngine.Net / YUI Theater

Categories

  • RSS feed for .NET.NET
  • RSS feed for ASP.NET 2.0ASP.NET 2.0
  • RSS feed for BlogEngine.NETBlogEngine.NET
  • RSS feed for C# 2.0C# 2.0
  • RSS feed for C# 3.0C# 3.0
  • RSS feed for CSSCSS
  • RSS feed for Design by ContractDesign by Contract
  • RSS feed for Design PatternsDesign Patterns
  • RSS feed for JavaScriptJavaScript
  • RSS feed for TDDTDD
  • RSS feed for User tipUser tip

Five most recent posts

  • ReSharper User tip #2: Refactor rename namespace
  • Building a Photo Album widget for BlogEngine.NET
  • Applying stylesheets dynamically with jQuery
  • ReSharper User tip: Refactor magical strings to variable
  • Blogging with MS Word 2007

Tag cloud

  • ajax
  • blog
  • blogengine.net
  • c#
  • css
  • dbc
  • design by contract
  • dom
  • douglas crockford
  • foto
  • getweekofyear
  • gregoriancalendar
  • highlight
  • html
  • humble dialog box
  • iso 8601
  • javascript
  • jquery
  • jscript
  • julian bucknall
  • metaweblog api
  • model-view-presenter
  • mvp
  • photo album
  • picasa
  • recent posts
  • refactor
  • refactoring
  • release
  • resharper
  • rhino mocks
  • syntax
  • syntax highlighter
  • tdd
  • test coverage
  • types
  • web service
  • week
  • widget
  • word 2007
  • yahoo
  • yui

Recent comments

  • Syntax highlighting in BlogEngine.NET (9)
    darren wrote: thanks for this - got it up and running no problem… [More]
  • Syntax Highlighter Release 0.2 Beta (7)
    Rickard wrote: Line numbers are not supported in the current rele… [More]
  • Syntax Highlighter Release 0.2 Beta (7)
    Jack wrote: How can i show line numbers? [More]
  • Syntax Highlighter Release 0.2 Beta (7)
    Tahir Khalid wrote: Hi Rickard, thank you for replying to my humble bl… [More]
  • Building a Photo Album widget for BlogEngine.NET (5)
    Bryan Avery wrote: Great code, but you need to include the google lib… [More]
<< Syntax highlighting in BlogEngine.NET | The Humble dialog v.2 >>

Syntax Highlighter Release 0.2 Beta

Monday, 5 May 2008 21:50 by Rickard

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
  • www.codeplex.com/syntaxhighlighter

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

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Tags:   syntax highlighter, c#, types, blogengine.net, release
Categories:   BlogEngine.NET
Actions:   E-mail | Permalink | Kick it! | DZone it! | del.icio.us | Comments (7) | Comment RSSRSS comment feed

Related posts

Syntax highlighting in BlogEngine.NET BlogEngine.NET ships with an extension that automatically highlights source code in blog posts. Al...Problem with Related Posts in BlogEngine.NET 1.4 With the new release of BlogEngine.NET a new feature was added that shows the description or part ...Building a Photo Album widget for BlogEngine.NETTutorial on how to implement the first steps of a Photo Album Widget for BlogEngine.NET

Comments

May 7. 2008 13:52

Jesper Lunc Stocholm

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?

Jesper Lunc Stocholm

May 8. 2008 04:05

trackback

Trackback from naspinski

Update/Fix for the BlogEngine.Net Syntax Highlighter

naspinski

May 8. 2008 04:06

naspinski

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

naspinski

May 8. 2008 08:40

Rickard

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.

Rickard

October 1. 2008 00:55

Tahir Khalid

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.

Tahir Khalid

November 8. 2008 13:44

Jack

How can i show line numbers?

Jack

November 10. 2008 07:36

Rickard

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

Rickard

Saving the comment

Add comment


(Will show your Gravatar icon)  

  Country flag

biuquote
  • Comment
  • Preview
Loading



 
Copyright © 2008 rickardnilsson.net