Skip to content

Structure for precision – Markdown, XML, and hierarchy

📄 Section 3: Structure for precision – Markdown, XML, and hierarchy

Section titled “📄 Section 3: Structure for precision – Markdown, XML, and hierarchy”

🎯 Learning objectives

  • Use Markdown for readable structure in longer system prompts
  • Understand XML-style tags as delimiters
  • Use hierarchy and emphasis without creating a wall of rules the model ignores anyway

Take an existing prompt and restructure it with Markdown or tags. Compare responses to the same three test questions.

  • Structure helps the model navigate long instructions.
  • Tags can isolate context, task, and format.
  • Balance beats both vagueness and micro-management.

Test your knowledge

2 questions · 100% correct to pass · Review your answers when done