I am happy to find the documentation for the list-links macro 
<http://tiddlywiki.com/prerelease/#list-links%20Macro> in the 5.1.8 
prerelease (as well as a lot of other great new documentation and stuff!)

>From it I have now learnt there are more parameters for list-links than I 
knew:

filter - A filter selecting which tiddlers to include
type - An HTML element to use for the overall list element, defaulting to ul
subtype - An HTML element to use for each item in the list, defaulting to li
class - A CSS class for the overall list element

(Note: I wish the examples 
<http://tiddlywiki.com/prerelease/#list-links%20Macro%20%28Examples%29>would 
reflect all parameters. Goes for all examples actually).

Question: Would this allow for inserting general elements between the 
listed titles? I mean, default prefixes each title with a bullet and 
suffixes with newline. Is there any of the parameters (type, subtype, 
class) that could take a value that is, e.g, a transclusion? I'm referring 
to that they are "HTML elements" but I'm not sure what this means here 
other than ul/li. Particularly the "subtype" is stated to work on each 
element.

...and could it perhaps even include the momentarily filtered title to be 
used as a value for such an subelement? E.g:

   - foo [+]
   - bar [+]
   - baz [+]

...where a [+] is a newhere button creating a child for the title to the 
left. I.e the button is created elsewhere and {{transcluded}} or even 
<<macrocalled>> directly in the list-links macro.

If this is not possible, I hereby express a wish for it. As far as I can 
tell it would be *very* powerful - and actually very similar to the old 
forEachTiddler, allowing you to easily make recursive trees or insert 
submenus with tools after each listed item. Would simplify a LOT for less 
coding competent people...


<:-)

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to