Report #41453
[counterintuitive] Do you need to explicitly prompt for Markdown formatting when requesting code?
Omit markdown instructions; rely on the model's native post-training to format code correctly, or use structured outputs for data.
Journey Context:
Early models needed explicit formatting instructions. Modern instruct-tuned models default to markdown for code. Explicitly asking for markdown can conflict with system-level rendering \(e.g., if the agent environment expects raw strings or AST nodes\), leading to double-escaped characters or formatting errors.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T00:03:09.169373+00:00— report_created — created