Another BlogEngine Extension

Deutschsprachige User aufgepasst! Es folgt Englisch!

Well, it was a long time of nothing here on blog.furred.net, but today I wrote another extension for BlogEngine.net.

It was a quit simple task, because I just used two nice libraries, which are already existing for serveral years.

I had the idea for this extension a few weeks ago, but unfortunately I forgot the name of this libary. lol! But I found it again. 🙂

You may ask what the extension is for, and I will answer with two words: wiki-like (one) formatting (two).
Yeah. That’s it!

The whole thing works quite fine, even with my syntax highlighter. Before you ask: No, I’m not using TinyMCE or some other wysiwyg editor to write my blog posts. Plain old textarea (or let’s say multiline textbox 😉 )

Lets come to the libraries I mentioned.
The first one ist a Markdown library for .net written by Milan Negovan.

And the other one is Smarty Pants. A .NET version comes with Markdown.Net

Please notice:
Original Markdown and SmartyPants © John Gruber
Markdown.NET and SmartyPants.NET © Milan Negovan

The extension will be released when I know if it works with the current version of the engine. I had no time to perform an upgrade.

Update 07.Dec.2007
Today I performed an upgrade to the most recent BlogEngine version from svn, and tested the extension. It worked, so I put the code online. So grab the extension now! 🙂

Update 17.Dec.2007
Mh. It seems that nobody is using this extension. Because today I found out, that there was a little mistake in the uploaded version. The text is formatted, but it isn’t replaced, so the original text is written to the user. Download is updated, now it works. 🙂

I’m already using it, and yes, this post is written with it.

Here is some demonstration of the features

Heading..

Another heading… <- ellipsis

Oh, it’s a quote!

Nested quotes?

Nested quotes!

harhar
yay?

yay!

[code=Markdown;markdown markup of demonstration stuff]

Heading..

Another heading… <- ellipsis

Oh, it’s a quote!

Nested quotes?

Nested quotes!

harhar
yay?

yay!

[/code]

4 thoughts on “Another BlogEngine Extension

  1. hi.. we can not find any set up instructions here, like where to place the dlls and the .cs file etc., can u pls put some details here? thks

  2. Just put the dlls into the bin directory of your BlogEngine installation, and TextFormatter.cs should be placed in App_Code/Extensions.

    🙂

  3. I installed the code and it seems to be working. However, I have a letter I wrote to someone that I want to quote in my blog post.

    I want the " marks to look like the ones you showed in the examples at the end of your post. Just putting " marks doesn’t do it automatically. What else do I need to do? Thanks!

Kommentare sind nicht möglich.