For example, suppose I have a lengthy tiddler (I use TW a lot for note
taking, one tiddler per meeting). I will use !heading and !!subheading
notation to outline the points made in the discussion. I'm thinking it
would be great if I could include a single tag at the top of the
tiddler (or even in the view template) that looks for ! and !! markups
and builds a mini outline at the top of the tiddler, allowing me to
see the structure of the tiddler and navigate within it at a glance.
Extra points if the outline floats as I scroll the window :)
If this doesn't exist, any pointers to macros that have similar
functionality (i.e. parsing the content of a tiddler, displaying
floating blocks, linking within a tiddler, calling a macro from a view
template) would be greatly appreciated.
--
Bobman
Try any of these:
http://devpad.tiddlyspot.com/#TiddlerToCPlugin
http://devpad.tiddlyspot.com/#DcTableOfContentsPlugin
http://tiddlytools.com/#TableOfContentsPlugin
HTH.
-- F.
I've installed the plugin in my TW and it works fine. By default, the
ToC is displayed as a bulleted list. The example CSS embedded in the
plugin is a great example, but I don't want red/green outlines. The
CSS actually used on devpad.tiddlyspot.com is great, but I can't find
where it is defined!
The obvious choice of 'StyleSheetTableOfContents' doesn't appear to be
the correct one; it defines some different tags.
Any ideas where/how the CSS is defined on there?
--
Bobman
Actually, DcTableOfContentsPlugin is not in use* on my DevPad - I'm just
hosting the version upgraded by Saq, because Doug Compton (the original
author) hasn't been around to upgrade his version.
So the Table of Contents you see on my DevPad is actually generated by
TiddlerToCPlugin, and the StyleSheetTableOfContents shadow tiddler
pertains to TiddlerToCPlugin.
Sorry for the confusion - not sure how to resolve this issue though.
So anyway, in order to apply similar styling to DcTableOfContentsPlugin,
you'd have to combine the selectors from that plugin's "Changing how
it looks" section and the properties in StyleSheetTableOfContents.
Let me know if you need help with that.
-- F.
* while DcTableOfContentsPlugin is tagged with "systemConfig", DevPad is
still using TiddlyWiki v2.1.3 - DcTableOfContentsPlugin specifies the
minimum required "CoreVersion" as v2.2, so it's never actually loaded