Text-slicer: Add support for notes within documents

This commit is contained in:
Jermolene
2016-02-01 21:26:11 +00:00
parent b8aa60cdab
commit 176d2ccd76
8 changed files with 62 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
title: $:/plugins/tiddlywiki/text-slicer/templates/plain/note
<!-- Don't display notes in plain mode -->

View File

@@ -14,6 +14,10 @@ title: $:/plugins/tiddlywiki/text-slicer/templates/plain/tiddler
<$transclude tiddler="$:/plugins/tiddlywiki/text-slicer/templates/plain/paragraph" mode="block"/>
</$list>
<$list filter="[<toc-type>prefix[note]]" variable="item">
<$transclude tiddler="$:/plugins/tiddlywiki/text-slicer/templates/plain/note" mode="block"/>
</$list>
<$list filter="[<toc-type>prefix[list]]" variable="item">
<$transclude tiddler="$:/plugins/tiddlywiki/text-slicer/templates/plain/list" mode="block"/>
</$list>