
Techniques
XML vs Markdown Prompts: How to Format One Prompt for Claude, GPT and Gemini
XML vs markdown prompts: Anthropic's docs recommend XML tags for Claude, Google's say XML-style tags or Markdown headings both work if you use one consistently, and OpenAI's say to move output schemas out of the prompt and into Structured Outputs.
Brian Gagne

