Fix Mermaid node labels: \n → <br> for line breaks

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-24 23:44:06 +00:00
parent 596372b78d
commit 757b48f378

View File

@@ -23,11 +23,11 @@ programmatic/LLM consumption.
```mermaid
flowchart TD
A["tokenize(text)"] --> B["parse_sexp(text)\n{ tag, items[] } tree"]
B --> C["run_query(ext, query, root, args)\nfile-type + query dispatch"]
A["tokenize(text)"] --> B["parse_sexp(text)<br>{ tag, items[] } tree"]
B --> C["run_query(ext, query, root, args)<br>file-type + query dispatch"]
C --> D["plain data object"]
D --> E["render_human(ext, query, data)\nformatted tables for terminal"]
D --> F["render_json(data)\nJSON.stringify for LLM / scripts"]
D --> E["render_human(ext, query, data)<br>formatted tables for terminal"]
D --> F["render_json(data)<br>JSON.stringify for LLM / scripts"]
```
Query functions are pure data transformers — no I/O, no format awareness.