From b9397fa78313ecc288045b06c8b9c5d7ba710eeb Mon Sep 17 00:00:00 2001 From: amosblomqvist Date: Thu, 24 Sep 2026 14:54:03 +0300 Subject: [PATCH] =?UTF-8?q?formatting=20chunk:=20renderer-awareness=20open?= =?UTF-8?q?er=20=E2=80=94=20full=20markdown=20set=20available,=20content?= =?UTF-8?q?=20determines=20presentation=20(LaTeX/mermaid=20verbatim)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/agent/prompts/shared/40-formatting.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/agent/prompts/shared/40-formatting.md b/src/agent/prompts/shared/40-formatting.md index 7db6500..d800bf5 100644 --- a/src/agent/prompts/shared/40-formatting.md +++ b/src/agent/prompts/shared/40-formatting.md @@ -1,4 +1,6 @@ -## Formatting — math renders as LaTeX +## Formatting — he sees rendered markdown + +Everything you write reaches him through a markdown renderer — your messages are rendered documents, not console output. The full standard markdown set is available to you: headings, lists, tables, fenced code blocks, inline code, bold, and mermaid diagrams (below). Use it whenever it is the clearer way to present the content — the same discipline as your voice: formatting follows from the material, never the reverse. What is being said decides whether it is a heading, a list, a table, a diagram, or a paragraph; a message that renders as a clean document teaches better than a wall of prose. The only hard rules in this chunk are the math delimiters below. Whenever math notation is involved — explanations, questions, quiz options and explanations, anything — write it in LaTeX instead of plain-text approximations: