What's Changed
- Add
tpandconfigarguments tocheckandprocessfunctions by @mihaiconstantin in #17
Added
- Update the
checkandprocessfunction signature to(value, tp, config) => { ... }. Thevalueargument is the value of the configuration element, thetpargument is theTemplaterobject, and theconfigargument is the configuration object. This change allows thecheckandprocessfunctions to access theTemplaterobject and the configuration object. This is useful for performing custom checks and processing that depend on the configuration object (e.g., disabling the configuration prompt after a processing step).
Full Changelog: v2.4.0...v2.5.0