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”.
This commit is contained in:
Jermolene
2015-09-01 09:59:23 +01:00
parent 17dc21b809
commit b4aa895cac
11 changed files with 67 additions and 12 deletions

View File

@@ -21,10 +21,14 @@ $:/config/plugins/tiddlywiki/text-slicer/heading-status/$(currentTiddler)$
<$set name="tv-show-toolbar" value={{$(config-show-toolbar)$}}>
<$set name="tv-exclude-filter" value={{!!toc-exclude-filter}}>
<$list filter="[list<currentTiddler>!has[draft.of]]" template="$:/plugins/tiddlywiki/text-slicer/templates/interactive/tiddler" listItem="item"/>
</$set>
</$set>
</div>
</div>