From 6af9f573fce9c167487e10c7327feff357327d6a Mon Sep 17 00:00:00 2001 From: Qrius Date: Thu, 26 Sep 2024 00:11:05 +0200 Subject: Change around some things, don't clone MacroProcessor for nested templates, so we can keep state from parents --- skaldpress.1 | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'skaldpress.1') diff --git a/skaldpress.1 b/skaldpress.1 index dfa8ea8..eec8dd3 100644 --- a/skaldpress.1 +++ b/skaldpress.1 @@ -49,6 +49,11 @@ since it is recursive, any metadata in templates will overwrite any metadata fro but will keep metadata that is not overwritten. This means templates can add additional context. +.IP "\fBkeep_states\fR" +List or string where every listed state/variable will be kept for subsequenct compilations. +Meaning that you can e.g. construct a array in the first compilation, which is then used the second time around. +Setting this, means that the file will always be recompiled, regardeless of other instances (unless a \fB--filter\fR is set). + .SH OPTIONS .IP "\fB-o, --out, --output\fR \fIpath\fR Specifies the directory to output the compiled files to, defaults to \fIbuild\fR. -- cgit v1.2.3