No-Wrap Text Area for Easier Markdown

UPDATE July 25, 2014: We've created a small drupal module for this. It's still sandbox but is rather stable and will likely be promoted to full project status soon.

You can see the project page here or just check it out:

git clone --branch 7.x-1.x http://git.drupal.org/sandbox/skh/2277041.git markdown_toggle

Being a markup freak, WYSIWYG editors never felt quite right, which is why I love markdown.

However, as spacing is important, it's much easier to work with when using a monospace font and no text-wrapping within the textarea.

textarea {
  font-family: 'Courier New', 'Courier', monospace;
  white-space: pre;
  word-wrap: normal;
  overflow-x: scroll;
}