Added post model and implemented to markdown method