Take a look at example one: http://eucaly-tw5.tiddlyspot.com/#%24%3A%2Fplugins%2Feucaly%2Fmatchfilter%2Freadme
El jueves, 13 de noviembre de 2014 14:48:41 UTC+1, Tobias Beer escribió: > > I as wondering if and how it would technically be possible for a macro / > plugin to figure the context in which it operates so as to traverse the DOM > tree. Does anything like that exist, already? > > The idea being a macro invoked like... > > <<toc "h1,h2">> > > ...which can be conditionally added as a custom ViewTemplate component to > show a toc of all headings, in this case of level 1 and 2, in fact any > selectors one wishes to index. > > This, of course, invloves the problem that — while the macro would be > called after a an element is rendered, e.g. the tiddler body — one may wish > to have the results rendered before or at the beginning of the element thus > indexed, e.g. in the form of an expandable / collapsible table of contents > "floating" at the top -right corner of a tiddler. > > 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 http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.

