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:
@@ -11,6 +11,10 @@
|
||||
- [marked-gfm-heading-id](https://github.com/markedjs/marked-gfm-heading-id) - 标题 ID
|
||||
- [marked-directive](https://github.com/fengzilong/marked-directive) - 指令语法
|
||||
|
||||
### 代码块围栏
|
||||
|
||||
代码块围栏可使用反引号或波浪号(`~~~`)书写;闭合围栏必须与开启围栏使用相同字符,且不短于开启围栏。声明 `role=` 的代码块同理。
|
||||
|
||||
## 指令语法
|
||||
|
||||
通过 `marked-directive` 支持自定义组件插入:
|
||||
@@ -123,6 +127,7 @@
|
||||
- 点击文本执行掷骰
|
||||
- 点击骰子图标重置为公式
|
||||
- `key` 属性将结果记录到 URL 参数中 (`?dice-attack=15`)
|
||||
- 骰子数量可省略,`d20` 等价于 `1d20`
|
||||
|
||||
**属性:**
|
||||
|
||||
|
||||
Reference in New Issue
Block a user