Re: [tw5] urgh.. brackets

2019-08-04 Thread MagoArcade
Thanks Jeremy, that nudged me in the right direction. The key was rather than passing as parameters, set as vars in main body and use these in the macro. I'll be taking this approach rather than parameters from hereon in. Working code (not tackled the other issues, but seems to be working

Re: [tw5] urgh.. brackets

2019-08-04 Thread Jeremy Ruston
Hi MagoArcade I’m not sure that I fully understand what you’re trying to do, but I can see a few red flags in the excerpts you’ve provided. First, the core of this task is appears to be to substitute chunks of text into a template. This is one of those situations where text substitution via a

[tw5] urgh.. brackets

2019-08-04 Thread MagoArcade
Hi all, Having problems constructing a string from various components. The output I'm looking for would be in this format (literal = to be stored in a tiddler field): {"31ada977-900e-4751-8549-8320014ab42f":{"to":"45e0e73a-0bdb-4a18-8452-8fdb59407bc6","type":"Subtask Of"}} My heavily