diff --git a/src/view/statblock.ts b/src/view/statblock.ts index 8b5885aa..e7c693ca 100644 --- a/src/view/statblock.ts +++ b/src/view/statblock.ts @@ -105,7 +105,11 @@ export default class StatBlockRenderer extends MarkdownRenderChild { ); if (file && file instanceof TFile) { const cache = await app.metadataCache.getFileCache(file); - Object.assign(built, fastCopy(cache.frontmatter) ?? {}); + Object.assign( + built, + fastCopy(cache.frontmatter) ?? {}, + this.params + ); } } if ("image" in built) {