• Blog
  • Archive
  • About
  • Contact
Sign in

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

  • Twitter
  • Facebook
  • Philip Wildenstam
  • Ninetech - Affärsnytta med IT
  • JetBrains ReSharper
  • Vimeo
  • dnrTV!
  • YUI Theater
  • BlogEngine.Net

Categories

  • .NET
  • Agile
  • ASP.NET 2.0
  • ASP.NET 3.5
  • ASP.NET MVC
  • BlogEngine.NET
  • C# 2.0
  • C# 3.0
  • CSS
  • Design by Contract
  • Design Patterns
  • JavaScript
  • TDD
  • Unit testing
  • User tip

Five most recent posts

  • Dependency injection in ASP.NET MVC with Unity IoC Container
  • ReSharper templates from the Code Kata Cast
  • How to unit test code which depends on HttpContext.Current.Server
  • Code Kata Cast
  • TDD Masterclass in the UK with Roy Osherove

Tag cloud

  • agile
  • ajax
  • asp.net 3.5
  • blog
  • blogengine.net
  • c#
  • code kata
  • css
  • dbc
  • dependency injection
  • design by contract
  • dom
  • douglas crockford
  • fakes
  • foto
  • getweekofyear
  • gregoriancalendar
  • highlight
  • html
  • httpcontext
  • humble dialog box
  • inversion of control
  • ioc container
  • iso 8601
  • javascript
  • jquery
  • jscript
  • julian bucknall
  • live template
  • metaweblog api
  • model-view-presenter
  • mvp
  • patterns & practices
  • photo album
  • picasa
  • recent posts
  • refactor
  • refactoring
  • release
  • resharper
  • rhino mocks
  • roy osherove
  • syntax
  • syntax highlighter
  • tdd
  • tdd masterclass
  • test coverage
  • testing
  • types
  • unit test
  • unity
  • web service
  • week
  • widget
  • word 2007
  • yahoo
  • yui

Recent comments

  • Code Kata Cast (8)
    Rickard wrote: @Marcus Eklund Classical music is royalty free sin… [More]
  • Code Kata Cast (8)
    Marcus Eklund wrote: http://creativecommons.org/ is a good place. Cl… [More]
  • Code Kata Cast (8)
    Rickard wrote: @Johan Lindfors Thanks! @Andrea I use TestDrive… [More]
  • Code Kata Cast (8)
    Marcus Eklund wrote: Nice one Rickard, A bit quiet though :P Used to t… [More]
  • Code Kata Cast (8)
    Andrea wrote: Nice one You can use the R# test runner and assig… [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.

Tags:   syntax highlighter, c#, types, blogengine.net, release
Categories:   BlogEngine.NET
Actions:  
Share | Comments (19) | |

Related posts

Syntax highlighting in BlogEngine.NETBlogEngine.NET ships with an extension that automatically highlights source code in blog posts. All ...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 ...AboutRickard Nilsson is a web and applications developer specializing in ASP.NET and web standards, ...

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

December 27. 2008 18:12

Tim

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.

Tim

December 28. 2008 23:16

Rickard

@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

Rickard

April 28. 2009 13:22

Franchises

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

Franchises

April 28. 2009 13:45

Rickard

@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?

Rickard

June 9. 2009 22:16

Franchises for sale

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.

Franchises for sale

July 2. 2009 09:14

SEO

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

SEO

July 8. 2009 22:57

movers

i am here sir

movers

July 9. 2009 07:36

club penguin cheats

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?

club penguin cheats

July 14. 2009 08:23

Emo Clothes

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

Emo Clothes

July 25. 2009 09:36

Las Vegas slot machines

Yes I already added it and then thought of that afterword. I was also curious about word wrap. I have just added some really long lines and it is stretching the page all over the place.

Las Vegas slot machines

August 7. 2009 10:01

homeserve boiler

"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?

homeserve boiler

August 27. 2009 07:57

Internet marketing


Try the site on IE6. All content will move to make space for the expanding menu, instead of the menu just rolling over it.

Internet marketing

Comments are closed
 
Copyright © 2008-2009 rickardnilsson.net