docs(reference): cover bare dice and tilde fences

Add the bare d-form (d20) to the dice notation table, and note that role fences accept backticks or tildes with hyphen-capable attribute keys. Regenerate both reference copies from known.ts and mirror the notes in the skill and markdown docs.
This commit is contained in:
hyper
2026-09-12 23:56:12 +08:00
parent 08bc97bec5
commit 322287da29
7 changed files with 29 additions and 3 deletions
+3 -1
View File
@@ -54,7 +54,9 @@ in `reference.md`.
## Code block roles
Fenced blocks are dispatched by the `role=` attribute in the info string:
Fenced blocks are dispatched by the `role=` attribute in the info string. Both
backtick and tilde (`~~~`) fences work; the closing fence must reuse the opening
marker, and fence attribute keys may contain hyphens (e.g. `data-foo=bar`):
| Info string | Behavior |
|---|---|