new post preview using marked js markdown library, use cmd+p to toggle preview (or click preview in menu)