ttrpg-tools/content/index.md

56 lines
920 B
Markdown

# 欢迎使用 TTRPG Tools
这是一个用于 TTRPG 文档的工具箱。
## 示例
::::{.flex.gap-4}
:::{.flex-1}
blah
:::
:::{.flex-1}
bler
:::
::::
### 骰子组件
点击下面的骰子来掷骰:
:md-dice[2d6] :md-dice[{d4, d8}]
:md-dice[3d6kh1] :md-dice[3d6dl2-1]
:md-dice[3d6+5]{key="attack"}
### 表格组件
:md-table[./sparks.csv]
:md-table[./sparks.csv]{roll}
:md-table[./sparks.csv]{roll remix}
:md-table[./npcs.csv]{roll}
### 链接
文本里面可以有:md-link[./stuff.md#啊什么]的啦
### 信息框
> [!NOTE]
> Highlights information that users should take into account, even when skimming.
> [!TIP]
> Optional information to help a user be more successful.
> [!IMPORTANT]
> Crucial information necessary for users to succeed.
> [!WARNING]
> Critical content demanding immediate user attention due to potential risks.
> [!CAUTION]
> Negative potential consequences of an action.