mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-10-06 10:50:45 +00:00
4ea5dce284
1. Switch from using the text field of lists for storing the associated filter to using the field `toc-list-filter` (to make it harder to accidentally parse the text of an ordinary tiddler as a filter) 2. Fix several bugs
26 lines
943 B
Plaintext
26 lines
943 B
Plaintext
title: $:/plugins/tiddlywiki/text-slicer/templates/static/tiddler
|
|
|
|
<$vars toc-type={{!!toc-type}}>
|
|
|
|
<$list filter="[<toc-type>prefix[document]]" variable="item">
|
|
<$transclude tiddler="$:/plugins/tiddlywiki/text-slicer/templates/static/document" mode="block"/>
|
|
</$list>
|
|
|
|
<$list filter="[<toc-type>prefix[heading]]" variable="item">
|
|
<$transclude tiddler="$:/plugins/tiddlywiki/text-slicer/templates/static/heading" mode="block"/>
|
|
</$list>
|
|
|
|
<$list filter="[<toc-type>prefix[paragraph]]" variable="item">
|
|
<$transclude tiddler="$:/plugins/tiddlywiki/text-slicer/templates/static/paragraph" mode="block"/>
|
|
</$list>
|
|
|
|
<$list filter="[<toc-type>prefix[list]]" variable="item">
|
|
<$transclude tiddler="$:/plugins/tiddlywiki/text-slicer/templates/static/list" mode="block"/>
|
|
</$list>
|
|
|
|
<$list filter="[<toc-type>prefix[item]]" variable="item">
|
|
<$transclude tiddler="$:/plugins/tiddlywiki/text-slicer/templates/static/item" mode="block"/>
|
|
</$list>
|
|
|
|
</$vars>
|