Markdown render helper for LLM outputs