Repository navigation
Releases
Releases · xmmw-fun/obsidian-dice-table
1.6.0
What's new in 1.6.0
Cross-document references now require explicit link syntax
Only explicit links can reach into another file. Every other way of naming a pool stays inside the current document:
| Write | Resolves to |
|---|---|
## Pool -> [[Other file#Pool]] |
the pool in Other file (cross-file) |
## Pool -> [text](Other file.md#Pool) |
the pool in Other file (cross-file) |
## Pool -> [[#Pool]] |
the pool named Pool in the current document |
## Pool -> OtherFolder/Pool |
the pool named Pool in the current document (the path part is ignored) |
## Pool -> File#Pool |
the pool named Pool in the current document (the file part is ignored) |
## Pool -> Pool |
the pool named Pool in the current document |
- Placeholders follow the same rule:
{[[file#pool]]}and{[text](file.md#pool)}reach another file, while{pool},{file#pool}and bare-path placeholders stay in the current document - Why the change: a bare name used to search the whole vault silently, so the same reference could roll a different pool depending on which files happened to be indexed. Now a reference means exactly what it says.
Also
- Manual and code comments re-labelled to 1.6.0 (the lighter result area, per-row re-rolls at any depth and the chain-formatting fix ship in this release)
- Chinese and English manuals updated in sync
Full details: open Settings → Dice Table → User manual.
本次更新收紧跨文件引用:只有显式链接写法([[文件#池]] 或 [文字](文件.md#池))可以跨文件;裸名、X#Y、裸路径一律只在当前文档内解析,占位符跟随同一规则。完整说明见插件内置手册(设置 → Dice Table → 用户手册)。
1.5.1
English — 1.5.0 follow-up fix batch.
- Unified all five output paths (copy / append / save-as-file / write-to-note / image export) through one shared recursive formatter: multi-instance results no longer collapse into one flattened line, and inner pool names are preserved at every depth.
- Image export reworked to a compact tree layout (one row per pool instead of one box per pool).
- Toolbar finalized: [roll] [file dropdown] [save] [⋮ more].
- Per-depth indentation in the result area, and per-item re-roll at any level (top-level, sub-pools, inside multi-instance sets, and the instance heading ↻); single-item re-rolls are now snapshotted into history.
- Audit fixes: chained-reference duplicates, container pools, placeholder refill on re-roll, history snapshots, placeholder indexing, write-to-note insertion point, faced-pool ranges now roll 1~N faces, H3 sub-pools referenceable, large-range sampling, scroll kept on re-roll, instance-level ↻.
- New setting "Show referenced pools" (default off).
- Switching the open location now closes the old panel instead of leaving two.
- Corrected ×3 syntax typos in the Chinese manual and specs.
中文 —— 1.5.0 之后修复批。
- 五出口(复制/追加/存文件/写入笔记/图片导出)统一走同一套递归格式化:多实例结果不再被压扁成一行,任意深度都保留内层池名。
- 图片导出改树形紧凑排布(每池一行,不再一池一个盒子)。
- 工具栏定稿:[摇骰] [文件下拉] [保存] [⋮ 更多]。
- 结果区按层级缩进;任意层级都能单独重摇(顶层、子池、多套实例内、实例标题 ↻),单条重摇会记入历史快照。
- 审计 9 项修复:链式引用重复、容器池、重摇后占位符补填、历史快照、占位符索引、写入笔记插入点、faced-pool 区间改为摇 1~N 个面、H3 子池可引用、大区间抽样、重摇保持滚动、实例级 ↻。
- 新增设置「引用项也占一行」(默认关)。
- 切换打开位置时自动关掉旧面板,不再留双面板。
- 修正中文手册/规格里的 ×3池 错字。
1.5.0
What's new in 1.5.0
Word banks & sentence templates
- Write
{color}inside a face and it fills with a random word from the same-named pool — any ordinary pool is a word bank, weights apply - Cross-document banks via
{[[file#pool]]}or{[text](file.md#pool)}; the same placeholder rolls once per roll, so{name} picks up {name}'s swordis one person - Number pools work as banks too (
{strength}fills a number); undefined/empty placeholders stay literal and are reported after the roll
New sticky toolbar
- Roll / switch tables / open the file / a "more actions" menu sit in one row pinned to the top — no more scrolling down to roll
- "More actions" keeps save / copy / write-to-note / change-folder out of the way; the folder dialog uses official folder suggestions and stays in sync with the settings tab
- The roll button now uses your theme accent color
Also
- Chinese wording renamed: 骰子桌 for the plugin, 骰子 for folders/paths
- Full details: open Settings → Dice Table → User manual (中文手册同步更新)
完整中文说明见插件内置手册(设置 → Dice Table → 用户手册)。
1.4.0
1.4.0: persisted roll history (last 20 rolls survive restart, saved t…
1.3.0
1.3.0: pool reference reuse (define an attribute set once, roll N ins…
1.2.0
1.2.0: built-in user manual (Chinese + English full version) accessib…
1.1.1
1.1.1: bump minAppVersion to 1.13.0 (declarative settings APIs), use …
1.1.0
1.1.0: copy result button, face weights ^N, roll history, append-to-f…
1.0.4
1.0.4: minAppVersion 1.7.2 (AbstractInputSuggest/setViewState/revealL…
1.0.3
1.0.3: regenerate lockfile with clean npm (drop env-contaminated abso…