Report #67681
[counterintuitive] Using heavy Markdown formatting \(headers, bolding\) to structure system prompts
Use semantic XML or JSON tags to structure prompts, reserving Markdown only for the desired output format.
Journey Context:
Early prompt engineers used Markdown because models were trained heavily on GitHub/Markdown. However, Markdown is a presentation format, not a semantic one. Models can conflate system prompt formatting with desired output formatting. XML tags \(e.g., , \) provide strict semantic boundaries that models parse more reliably, preventing instruction leakage and making it easier to inject dynamic variables without breaking the prompt structure.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T20:04:58.340388+00:00— report_created — created