Tag: browsers

WMD Features

Markdown in, HTML out

WMD contains a full JavaScript implementation of Markdown, so you don’t need any server-side support. But if you’d rather do Markdown processing on the server, WMD is 100% compatible with the official Perl version of Markdown. (The Wikipedia page for Markdown has a good list of other implementations.)

Live preview

As users type, WMD’s live preview shows them exactly how their text will appear, in place, after the site’s stylesheets have been applied. Most “WYSIWYG” editors just show unstyled text in a box.

No hidden control characters

With WMD’s explicit formatting, it’s never unclear what’s going on behind the scenes. The start and end of each span is clearly marked in plain text. Links appear as footnotes, so you can edit their URLs without having to delete and re-create them. And you’re always free to mix raw HTML with your Markdown.

All the formatting is there for you to see and edit—but since it’s in Markdown, your document is still completely readable.

Configurable

Want to let users add links, but not images? Lists but not headings? No problem. You can easily set toolbar buttons, line-wrapping length, and other options with a little JavaScript. See optionsExample.html in the zip file for guidance.

Easy to install

If you have a textarea that accepts HTML input, you can add WMD to your site with one line of code. Add live preview with one more.

Works in all major browsers

WMD runs in modern versions of all major web browsers:

  • Internet Explorer 6 & 7
  • Firefox 1.5+
  • Safari 2+
  • Opera 8.5+
  • Konqueror 3.5+
  • Netscape 8+