Helper to render markdown text