Si,
With this I think there are two key approaches,
1. Externalise the list items so they can be listed when ever you want,
added to and even reordered, if using a tag
2. Build a sophisticated way to extract list items, such they can be
referenced elsewhere
I have plenty of ideas for the second (2) option but expect the first to be
the soundest solution.
Some examples of how I may do the second (2) option
1. Wikify a tiddler into html and extract the lined with `<li>item</li>`
tags
2. Use splitregexp[\n] to extract lines from the other tiddler and
detect lines beginning with "*"
3. Use wikilinks on each item eg
The first option can be achieved with something like below, even if you
don't create the tiddlers.
"First" tiddler
# [[First entry]]
# [[Second entry]]
# [[Third entry]]
"Second" tiddler
# [[Fourth entry]]
<$list filter="[[First]] [[Second]] +[links[]]">
<li><<currentTiddler>></li>
</$list>
But of course such tiddlers can not have other tiddler links in them.
- I would consider a new tiddler for each thing you wish to address from
somewhere else is the best approach, and part of the tiddlywiki philosophy,
Use the excise tool
- I have being playing with excise and combine but some work is needed.
I can imagine a special kind of excise, or a html section that we can
extract fragments of tiddlers from would help here, and may be worth
developing. That is a few more tools for handling fragments or parts of
tiddlers.
Regards
Tony
On Sunday, August 9, 2020 at 4:01:41 AM UTC+10, si wrote:
>
> Hi everyone!
>
> I have a typed list in a tiddler:
>
> # First entry
> # Second entry
> # Third entry
>
> I want to transclude it into another tiddler, and then add additional
> elements to the list:
>
> {{List Tiddler}}
> # Fourth entry
>
> Obviously this doesn't work - it just starts a new list. Is there a
> convenient way to do this?
>
> Thanks in advance for your help.
>
>
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/378a788d-1373-4bb0-bdd5-649a55a62765o%40googlegroups.com.