Hi everyone,

To pick up where I left it 
<https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Ftobibeer%2FTiddlyWiki5%2Fblob%2F9064d4668d3b3434e08c4cbeb038395efe394bdf%2Fcore%2Fmodules%2Ffilters%2Ftoc.js&sa=D&sntz=1&usg=AFQjCNFdpD6E3ZA8bv4YAKV8-n3G-RfazA>,
 
I now published the initial version 0.5.0 
<https://github.com/tobibeer/tw5-toc/releases/tag/0.5.0> of tobibeer/toc 
<http://tobibeer.github.io/tw5-plugins/#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...

   1. to get an index of all titles in a toc
   2. to implement pagination through a toc

Best wishes,

Tobias.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9fedb826-1670-4fcb-a61b-5bfaf41541ee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to