Move Markdown to model method