apigear-io / cli

The ApiGear client as go project
https://apigear.io
MIT License
1 stars 2 forks source link

change template delimiters based on tpl extensions #54

Closed jryannel closed 1 year ago

jryannel commented 1 year ago

For JSX/TSX we need to change delimiters to [[ and ]] based on the file extension ".jsx.tpl" and ".tsx.tpl". Maybe this sould also be configurable.

jryannel commented 1 year ago

This seems no be required. You can escape delimiters using {{"{{"}}. Also the double curly brackets are seldomly used, if even. Not sure, if they are required at all or just two nested curly brackets which could also be written as { { code } }