5. Dezember 2007 00:41
von crazy-weasel

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

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 Wink )

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! Smile

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

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!

Heading..

Another heading… <- ellipsis

Oh, it’s a quote!

Nested quotes?

Nested quotes!

harhar
yay?

yay!

Bewertung: 5.0 von 3 Benutzern

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Kick it! | DZone it! | del.icio.us | E-mail | Permalink | Kommentare (3) | Kommentar RSSRSS comment feed
 
 
 
us guest
 
guest
20.06.2008 06:41
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
 
 
 
crazy-weasel
20.06.2008 11:02
Just put the dlls into the bin directory of your BlogEngine installation, and TextFormatter.cs should be placed in App_Code/Extensions.

Smile
 
 
 
trackback
03.07.2008 17:31
Trackback from furred (moo)Blog

Text Formatter Extension
 
 
 

 

  Country flag

biuquote
  • Kommentar
  • Live Vorschau
Loading



 
Clicky Web Analytics