Add style butttons and preview to any kind of input field
Demo page: Focus in the different input fields and interact with the helper buttons.
Just add the class mdm-input to any input element in your page and it will became in a MarkDown Editor.
Or you can do it in a more explicit way:
$('.css-selector').mdmagick();
Simple textarea is becomed in a MarkDown editor with buttons and preview
Same can be done with a simple input text field
Every element with class mdm-input will be becomed in a MDMagick input.