On Wednesday, October 7, 2020 at 12:17:32 AM UTC-7, TW Tones wrote:
>
> Does the publish filter only exist if you define it?
>

yes.
 

> I have always had trouble finding where it was defined :) 
>
Perhaps it would be better as {{$:/config/publishFilter}} and editable 
> somewhere.
>

In $:/core/save/all, saveTiddlerFilter() is defined as a macro whose value 
is passed
along to a subsequent filter action as part of the TWCore saver handler and 
thus
needs to be a fully expanded sequence of filter runs.

Using $(publishFilter)$ does a "string replace" to assemble the full filter 
syntax.

However... it occurs to me that it might be possible to use 
[subfilter{$:/config/PublishFilter}]
which *should* produce the same effect without relying upon a global macro 
definition.

-e

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/8596403a-274c-4512-8650-53ea1f232268o%40googlegroups.com.

Reply via email to