The point of the curly brackets is to embed Nim code (not to "embed variables"), it can be anything. I happen to have Nim code that has quote marks in it, but it won't compile for anyone here. Since this is an "example", and rather then generate some fake Nim code, I demonstrated the issue simply and easily with a string. I appreciate the answer by shirleyquirk, this is what I was looking for.
- How to escape colon in the '&' macro in strformat ? stbalbach
- How to escape colon in the '&' macro in strformat ? lscrd
- How to escape colon in the '&' macro in strforma... kaushalmodi
- How to escape colon in the '&' macro in strf... xioren
- How to escape colon in the '&' macro in ... shirleyquirk
- How to escape colon in the '&' macr... stbalbach
- How to escape colon in the '&' ... kaushalmodi