install jbuilder for json api
make json api for html preview
install redcarpet for markdown compiling
make a markdown processor
render html content with github flavored markdwon