You should allow indenting the content with the [Tab] or [Shift] + [Tab] key
(markdown consistently use it), which is always better, than to bother the space key ;)
Consider this jQuery Plugin: http://teddevito.com/demos/textarea.html
Assuming this plugin works well on all browsers without performance issues
tv/1989
To QA, put focus in markdown widget textarea and press Tab key. Should insert 4 spaces.
Looks good.
Originally by: wladid
Works very well.
Thank you!