1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-16 02:19:55 +00:00

Text-Slicer: update docs and change default view

This commit is contained in:
Jermolene 2015-08-28 19:40:58 +01:00
parent 46087fd270
commit 97979e1fb1
2 changed files with 9 additions and 2 deletions

View File

@ -29,6 +29,13 @@ These tiddlers are bound together using tagging: child tiddlers are tagged with
Slicing generates the following component tiddlers:
!!! Document
The document itself is represented by a tiddler with the following fields:
* ''title'': the text ''"Sliced up "'' plus the title of the tiddler that was sliced
* ''text'': the text `{{||$:/plugins/tiddlywiki/text-slicer/templates/display-document}}`
!!! Headings
Tiddlers representing headings have the following fields:

View File

@ -15,7 +15,7 @@ $:/plugins/tiddlywiki/text-slicer/config/view-type/$(currentTiddler)$
\define display-tiddler()
<$set name="tv-show-toolbar" value={{$(config-show-toolbar)$}}>
View: <$select tiddler=<<config-view-type>> default="display-document">
View: <$select tiddler=<<config-view-type>> default="toc-tabbed-internal-nav">
<option value="display-document">Document</option>
<option value="toc-selective-expandable">Outline</option>
<option value="toc-tabbed-internal-nav">Tabbed outline</option>
@ -29,7 +29,7 @@ View: <$select tiddler=<<config-view-type>> default="display-document">
<$list filter="[field:title[$(config-view-type)$]]" variable="listItem" emptyMessage="""
<$macrocall $name="display-document" tag=<<currentTiddler>> template="$:/plugins/tiddlywiki/text-slicer/templates/toc-entry"/>
<$macrocall $name="toc-tabbed-internal-nav" tag=<<currentTiddler>> template="$:/plugins/tiddlywiki/text-slicer/templates/toc-entry"/>
""">