1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-10-27 05:06:17 +00:00
TiddlyWiki5/plugins/tiddlywiki/text-slicer/templates/static/heading.tid
Jermolene f0a655d8b2 Text-slicer: Switch from weaving with tags to lists alone
Many reasons:
* to allow subtrees to be grafted more easily
* to keep the tags for an entry clean by removing structural tags and
leaving the semantic tags
* to avoid the duplication of expressing the same relationship through
both the tags and list fields
2015-09-04 09:05:33 +01:00

11 lines
323 B
Plaintext

title: $:/plugins/tiddlywiki/text-slicer/templates/static/heading
\define body(level:"h1")
<$level$>
<$view field="text"/>
</$level$>
<$list filter="[list<currentTiddler>!has[draft.of]]" template="$:/plugins/tiddlywiki/text-slicer/templates/static/tiddler"/>
\end
<$macrocall $name="body" level={{!!toc-heading-level}}/>