Header via: Mute | Jump to: Info

« Drink Driver Hits Racing CyclistsAn Apple Store Teaser for Sydney »

Testing WMD: The Wysiwym Markdown Editor

WMD: The Wysiwym Markdown Editor

WMD is a simple, lightweight HTML editor for blog comments, forum posts, and basic content management. You can add WMD to any textarea with one line of code. Add live preview with one line more.

Wysiwym stands for What You See Is What You Mean. WMD produces clean semantic HTML, leaving presentation details like fonts and colors up to style sheets.

Thanks to John Gruber for the tip.

I added this to the comments section of this B2evolution site in 3 minutes. It required the editing of two core files.

  • _item_comment_form.inc.php
  • _html_footer.inc.php

This gives you the toolbar and the instant preview.

Visit the WMD Demo page.

Update: I have deleted this tool from my blog, simply because I couldn’t be arsed precluding it from all the other textarea sections of the site. This doesn’t lessen my admiration of the project.

Posted on 01 June 08 in Categories: The Sandpit

1 comment

Comment by John Email on 01 June 08 @ 19:32

Formatted using WMD

Today the better half went shopping for delicates and she heard the following announcement over the store PA

For the next half hour we will be
discounting all Apple products by 10%

Now that is not something you hear very often in a non Apple store.
What would be the chances that someone was in the store buying an iMac during that dedicated half hour?

  • none
  • minor chance
  • They were trampled in the rush

Leave a comment


Your email address will not be revealed on this site.

Your URL will be displayed.
(Line breaks become <br />)
(Name, email & website)
(Allow users to contact you through a message form (your email will not be revealed.)

Page top