by Kevin Bosch
28. January 2009 20:20
I have just been playing around with the BlogEngine.Net software. Getting a feel for what it is like and the features which are available One of my requirements for me to use a blog is that I am able to take snippets of code very quickly and just about copy and past them into the blog. Without having to spend ages formatting the code Blog to make it look good. BlogEngine.Net came very close with including the CodeFormatter extension by Jean-Claude Manoli. However I found it strange that the rendering was done when selecting the content out of the repository and that every time the html tiny_mce HTML editor touched it it striped the white space of of the pre statement. It was also leaving the [code] elements in. So what I have done as an exprement was to switch it to so the code formatting is done when inserting the data into the repository. From my quick tests on my local copy this works well except i still face the tiny_mce HTML editor problem with it striping the white space between <Pre>tags. However this is now managable as this only happens if i update the entry and use the edditor. I still have a little tidy up work to do then I will start to put some content up to see if it works.