*Objective*
Tiddlywiki by default hides many scripts like macros. I would like to have
a method to display their raw content on demand
A simple form of this is already used in Utility plugin.
The methodology here is to use a ViewTemplate like below
title: myTemplate
tag: $:/tags/ViewTemplate
text: as below
<$list filter="[all[current]tag[show-content]]">
<pre><$view/></pre>
</$list>
Now I like to let users can set their filter through a config tiddler.
*Implementation*
- A tiddler called config/reveal-filters holds all filter like
- [tag[show-content]] [tag[myTag]] [prefix[local/macro/]]
[search:title[kookma]]
- A view Template like below
<$set name=revealFilters tiddler="config/reveal-filters" field=text>
<$list filter="[all[current]]+[subfilter<revealFilters>]" >
<pre><$view/></pre>
</$list>
</$set>
Unfortunately it does not work!
*Question*
How can I implement a ViewTemplate to get a set of filters from user and
display the raw content of tiddlers match those filters?
--Mohammad
--
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/ed69417c-a6f9-4219-a0b3-d209cf663786%40googlegroups.com.