Report #93776
[counterintuitive] Using Markdown headers \(\#\) to separate system instructions from user context within the same prompt
Use explicit text delimiters \(e.g., , or triple quotes\) to separate distinct inputs. Reserve Markdown for formatting the desired output.
Journey Context:
Because LLMs are trained on Markdown, developers often use Markdown headers to structure their prompts. This backfires because the model can confuse the prompt's structural headers with the headers it is supposed to generate in its response, leading to truncated outputs or the model summarizing instructions instead of following them. XML tags or explicit delimiters are semantically clearer for input separation.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T15:59:13.035344+00:00— report_created — created