Move Markdown rendering to ApplicationHelper