mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 10:07:19 +00:00
Text-Slicer: update docs and change default view
This commit is contained in:
parent
46087fd270
commit
97979e1fb1
@ -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:
|
||||
|
@ -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"/>
|
||||
|
||||
""">
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user