Si,

There are ways to do transcludes such that they are easy to edit in the top 
tiddler, as you say In a way that's what streams and other solutions do.

Actually, inspired by your situation I have an idea for a excise tool with 
a difference.

Regards
Tones 

On Tuesday, August 11, 2020 at 4:11:34 AM UTC+10, si wrote:
>
> Thanks a lot Eric, that does the trick!
>
> @ TW Tones
>
> I did consider separate tiddlers, but for this specific case I decided 
> against it just because of the difficulty of jumping around to different 
> tiddlers when editing entries in the list.
>
> Of course plugins like saq's streams may be another good option that solve 
> this problem nicely.
>
> On Saturday, 8 August 2020 at 19:59:18 UTC+1 Eric Shulman wrote:
>
>> 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4fec2a2b-1b21-4b5e-be13-4a450d3e762bo%40googlegroups.com.

Reply via email to