1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-09-17 09:49:44 +00:00
TiddlyWiki5/plugins/tiddlywiki/text-slicer/templates/static/list.tid
Jermolene b4aa895cac Text-slicer: add support for exclude filters
The exclude filter `+[tag[intro]]` will produce a document that only
includes the paragraphs with the tag “intro”. These are derived from
the paragraphs in the original document with the CSS class “intro”.
2015-09-01 09:59:23 +01:00

12 lines
361 B
Plaintext

title: $:/plugins/tiddlywiki/text-slicer/templates/static/list
\define body(type:"ul")
<$type$>
<$list filter="""[all[current]] $(tv-exclude-filter)$""" listItem="item">
<$list filter={{!!text}} template="$:/plugins/tiddlywiki/text-slicer/templates/static/tiddler" listItem="item"/>
</$list>
</$type$>
\end
<$macrocall $name="body" type={{!!toc-list-type}}/>