style the editor and previewer
move preview button ahead; focus caret after text
escape html tags in code
Merge pull request #314 from jiyinyiyong/styles-of-editor

Styles and layout of editor