On Wednesday, June 3, 2020 at 2:34:11 AM UTC+2, TonyM wrote: > The missing piece here is how do we insert or replace non simple text?, in > many cases you can use a macro to define what to join with but only if you > can represent it as wikitext. > > > - The key example is one cant join using the new line character, > splitregexp allows to to split based on \n but there is now way to join > with \n > > You are right joining a new-line is tricky. You need to use <$set filter ...>
\define testCreate() <$set name=test filter="""[[aaa-bbb-ccc-ddd]split[-]join[ ]]"""> <$action-createtiddler $basetitle="base" text=<<test>> /> </$set> \end <$button actions=<<testCreate>> > Create Tiddler </$button> -mario -- 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/0227b7ad-f55a-4808-89bf-143fd01e44e0%40googlegroups.com.

