I am using @Federico.Stefanato 's Kroki pack. I’m a little unsure how insert the markup for the diagram in the formula. I see the syntax argument, but, that’s really unwieldy to maintain. This might be a ridiculously basic question, but can I set it as a variable from a code block?
Thank you for the answer, however I think I need to learn more Coda basics, because I can’t figure out how to set the variable like you have. If you could point me to the docs that cover that, I’d appreciate it.
Setting f_SyntaxCode like you’re referencing is a mystery to me so far.
Ah. I think I understand more now. I made a table with 1 line, a name and diagram column, then tried to reference the second column, it’s not working yet, but I think I’m on the right path.
I’d still like to find a primer on how variables like this work, if you have time.
Hey @Brian_Morin,
Happy that eventually you figured it out!
Most of the times, it’s great idea to use columns as reference data as you did.
Sometimes however, you’ll find convenient having named formulas acting as global variables (i.e. at document scope) that you can refer within any other formula.