Commit Graph

5 Commits

Author SHA1 Message Date
Cohee
5f1e290bda Disallow multiple {{original}} macro substitutions 2024-01-29 00:58:29 +02:00
valadaptive
71f47588cd Pass macro variables in to evaluateMacros
This doesn't cover *all* the variables yet, just the ones that were
previously passed in as arguments. I'll expand this later to separate
the macro parsing from the execution of the functions themselves.
2024-01-27 13:20:44 -05:00
Cohee
9bb404fb34 Add missing arg to JSdoc 2024-01-12 11:48:34 +02:00
Cohee
a5edf2696f Fix relative imports 2024-01-12 11:47:00 +02:00
valadaptive
89a999cfd4 Move macro substitution to new module
substituteParams has become a thin wrapper around the new evaluateMacros
function, and will become more of a compatibility shim as refactorings
and rewrites are done.
2024-01-10 22:22:30 -05:00