What's Changed
- Add
tp
andconfig
arguments tocheck
andprocess
functions by @mihaiconstantin in #17
Added
- Update the
check
andprocess
function signature to(value, tp, config) => { ... }
. Thevalue
argument is the value of the configuration element, thetp
argument is theTemplater
object, and theconfig
argument is the configuration object. This change allows thecheck
andprocess
functions to access theTemplater
object 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