llvm-c166/lldb/docs/use
Reid Kleckner bebff2a2e9
[docs] Prefer colon fences to delineate blocks containing markup (#214921)
Myst has an extension,
[colon_fence](https://myst-parser.readthedocs.io/en/latest/syntax/optional.html#syntax-colon-fence),
that we enable in our docs. There are many Markdown-aware tools out
there that know to interpret triple backtick as a code block fence, so
they highlight them as pre-formatted text. Colon fences are an
unrecognized Myst extension, and if the Sphinx directive contains a
block of markdown formatted text, that's the desired behavior.
Therefore, at some point during the migration, I started using them.
However, I didn't document this guideline, and I didn't apply it
consistently to the early docs. This PR does that: documents the
guideline, and applies it to our docs.

After this change:
```
❯ rg '```\{(option|note|todo|admonition|warning)\}' | cut -d / -f 1 | sort | uniq -c
     72 clang-tools-extra
```

The generated HTML was byte-identical.

I plan to leave clang-tools-extra untouched since there are PRs in
flight.

LLM-assisted
2026-08-08 14:31:46 -07:00
..
tutorials
aarch64-linux.md [docs] Prefer colon fences to delineate blocks containing markup (#214921) 2026-08-08 14:31:46 -07:00
formatting.md
intel_pt.md
links.md
lldbdap.md
map.md
mcp.md [lldb][docs] Rewrite the MCP documentation for lldb-mcp (#212821) 2026-07-30 09:11:14 -07:00
ondemand.md
python-reference.md
remote.md
repeat-commands.md
settings.md
symbolfilejson.md
symbolication.md
symbols.md
troubleshooting.md
tutorial.md [lldb] Add comma separator in watchpoint description (#209176) 2026-07-14 08:31:08 +00:00
variable.md [LLDB] Enable SBTypeSynthetic manipulation for SBValue instances (#209056) 2026-07-17 14:17:56 -07:00