Definitely more concise with fewer square brackets going on. My challenge is it makes it harder to make a one-to-one relationship between the "bubbles" in the diagram and the pieces related to the bubbles. Kind of like I'm playing a game of "Where's Waldo".
But that's part and parcel of my cognitive disability. I think loads of folk would appreciate your less verbose approach. Thanks ! On Sunday, June 18, 2023 at 11:45:44 PM UTC-3 Brian Theado wrote: > On Sun, Jun 18, 2023 at 5:36 PM Charlie Veniot <cj.v...@gmail.com> wrote: > >> If you have an approach you think is simpler than the one described >> above, please let everybody know about it. >> > > Here is one I find simpler (YMMV): > > ``` > <$railroad text={{{ > [["]addsuffix<currentTiddler>addsuffix["]] > > [["(" <"numValue1"> "," <"numValue2"> ")"]] > +[join[]] > }}}/> > ``` > > and a slight variation: > > ``` > <$railroad text={{{ > [["]] [<currentTiddler>] =[["]] > > [["(" <"numValue1"> "," <"numValue2"> ")"]] > +[join[]] > }}}/> > ``` > > For me the first line in each of the above read slightly easier than that > addprefix/addsuffix combination since I don't need to mentally re-order > anything. And having all the quoting together in a single line (2nd line in > each of the above) I found it easier to read since at a glance I can tell > everything on that line is part of one static string. > > Maybe these small tweaks aren't what you had in mind, but I thought I'd > share in case it helps. > > Also, the future 5.3 version of Tiddlywiki might introduce substitution > within attribute values: > https://tiddlywiki5-git-fork-saqimtiaz-textsubstitution-jermolene.vercel.app/#Substituted%20Attribute%20Values. > > With that feature, you could do this: > > ``` > <$railroad text=`"$(currentTiddler)$" "(" <"numValue1"> "," > <"numValue2">")"`/> > ``` > > I know Charlie has a self-imposed policy not to upgrade past 5.2.3, so > this last one is for others who might be interested. > -- 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/40cdfb91-4616-4faa-9e31-3e9bb68e92ban%40googlegroups.com.