On Saturday, August 8, 2020 at 11:01:41 AM UTC-7, si wrote:
>
> 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:
>

It's not pretty, but this will work:
<$vars newline="
">
<$vars list={{List Tiddler}}>
<$vars list={{{ [<list>addsuffix<newline>addsuffix[# Fourth entry]] }}}>
<$vars list={{{ [<list>addsuffix<newline>addsuffix[# Fifth entry]] }}}>

<<list>>

1) The first $vars defines a literal newline character (note the line break 
in between quotes is essential!)
2) The next $vars fetches the list content from the other tiddler
3) Each subsequent $vars appends a newline plus another numbered entry
4) The <<list>> shows the result (note the linebreak before this line is 
also essential)

As an alternative, let's suppose you have two source tiddlers, "List One" 
and "List Two",
where "List One" contains:
# First entry
# Second entry
# Third entry

and "List Two" contains:
# Fourth entry
# Fifth entry

Note that each source tiddler must end with a newline.

Then, you can combine these two source lists like this:
<$vars list={{{ [{List One}addsuffix{List Two}] }}}>

<<list>>

-e

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/44353a26-7df6-48c8-b87d-c2371358f1b5o%40googlegroups.com.

Reply via email to