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
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.
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! :)
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
Another heading… <- ellipsis
Oh, it’s a quote!
### Another heading... <- ellipsis
> Oh, it's a quote!
> Nested quotes!
> > harhar
> > yay?