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]