- Scroll the selected completion item into view - Filter commands based on prefix when typing a slash command - Keep completion menu open while typing a command - Add data attributes to track completion indices for scrolling
一个基于 solid.js 和 rsbuild 的 TTRPG 工具箱,支持 Markdown 解析、自定义组件和 CLI 工具。
solid.js
rsbuild
# 安装依赖 npm install # 全局安装 CLI npm link # 预览内容 ttrpg serve ./content
serve
compile
:dice[2d6+d8]
:table[./data.csv]
:md-deck[./cards.csv]
:md-pin[A]{x=40 y=40}
:md-commander
MIT