mitenmit / gpt

GPT Prompting
https://mitenmit.github.io/gpt/
MIT License
49 stars 21 forks source link

Support special character escaping #4

Closed eightHundreds closed 5 months ago

eightHundreds commented 9 months ago

My template source contains [ and ] which conflicts with the internal BlockStart BlockEnd

mitenmit commented 8 months ago

@eightHundreds Thank you for posting the issue. Escaping square brackets should be available now by prefixing them with \ symbol, example: [some text \[escaped block\] $var more text]