javalent / dice-roller

Inline dice rolling for Obsidian.md
268 stars 28 forks source link

feat(dice-mod): add setting for template folder to prevent applicatio… #263

Closed twiescha closed 10 months ago

twiescha commented 10 months ago

…n of dice-mod in templates

add setting to prevent full application of dice-mod in live preview

Pull Request Description

Use case: Using a template with predefined dice-mod commands to create multiple random values, e.g. for the next travel day (weather, encounters, etc) that can be persistently added to a adventure journal note.

Changes Proposed

added configuration to define a folder where dice-mod templates are stored so they wont be applied prematurely. added configuration to prevent application of dice-mod formulas in live preview edit mode (also prevents some quirks with the application of multiple dice-mod commands at once in live preview mode).

Related Issues


Checklist

valentine195 commented 10 months ago

Can you update your branch please?