Groups
Groups
Sign in
Groups
Groups
TiddlyWiki
Conversations
Labels
About
Send feedback
Help
TW5: NEW plugin: tobibeer/toc - a filter to fetch titles in a table of contents
66 views
Skip to first unread message
Tobias Beer
unread,
Jan 11, 2017, 6:18:45 PM
1/11/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to TiddlyWiki
Hi everyone,
To pick up
where I left it
, I now published the initial
version 0.5.0
of
tobibeer/toc
.
It's a filter filter called
toc
that allows you to retrieve titles in a table of contents as a flat list with a range of options:
root
defines the title that is the root of your toc, e.g. TableOfContents, defaults to currentTiddler
level
a level up until the (tagging) tree is traversed
exclude
a variable defining a filter of titles to be excluded
truncate
a variable defining a filter of titles to be trunctated (not further checked for children)
list
a fieldname establising the hierarchy, by default:
tags
sort
a field by which to sort, use
!field-name
to sort DESC
It can be useful...
to get an index of all titles in a toc
to implement pagination through a toc
Best wishes,
Tobias.
Reply all
Reply to author
Forward
0 new messages