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:
@@ -256,6 +256,10 @@ Renders a clickable span that dispatches a journal command.
|
||||
The `role=` attribute on the info string determines how a fenced block is
|
||||
handled.
|
||||
|
||||
Fences may use backticks or tildes (`~~~`); the closing fence must reuse
|
||||
the opening marker. Fence attribute keys may contain hyphens (e.g.
|
||||
`data-foo=bar`).
|
||||
|
||||
### `role=spark-table`
|
||||
|
||||
CSV (or markdown pipe table) rendered as `:md-table`.
|
||||
@@ -339,6 +343,7 @@ Used by `:md-dice`, spark-table headers, and the journal `/roll`:
|
||||
|---|---|
|
||||
| `2d6` | two six-sided dice |
|
||||
| `1d20+5` | d20 plus modifier |
|
||||
| `d20` | one twenty-sided die (count optional) |
|
||||
| `3d6kh1` | keep highest 1 |
|
||||
| `3d6dl2-1` | drop lowest 2, minus 1 |
|
||||
| `{d4, d8}` | choose one of the listed dice |
|
||||
|
||||
Reference in New Issue
Block a user