added preview editor and markdown buttons for creating a post