move the markdown handling to before_save
add markdown_html to post model
update the view of post