Using Markdown to manage blog posts - shiningflint/acbw_rails GitHub Wiki

Simple definition

Posts has a title, body, publish dates, active status, and all other stuff. Right now we save the body as HTML. Need to save the body as markdown format instead

The post body

The post body will be saved in DB as a markdown. Not a html. Basically the Post page will still be the same, but the post body will just be a simple markdown page.

Creating a new post

You can just write a title and other stuff. But you can write the post body in markdown and save it in a markdown file. So you can upload your markdown file and parsed as is in the new post interface.

Editing a post