The markdown syntax file states that conditional blocks should be written as {{#if <cond>}} ... {{/if}}, but this syntax throws an error when input into Postmark's template editor:


I was able to get it working using the following syntax (although I wasn't able to figure out syntax for else case):
{{#premium_member}}
Thank you for being a premium member for {{.}}!
{{/premium_member}}
reference: https://postmarkapp.com/support/article/1077-template-syntax#advanced-value-handling
Postmark Template Editor Test
Template:
Preview:


Is this an issue with the documentation or is there a bug in the Postmark template editor?
The markdown syntax file states that conditional blocks should be written as
{{#if <cond>}} ... {{/if}}, but this syntax throws an error when input into Postmark's template editor:I was able to get it working using the following syntax (although I wasn't able to figure out syntax for else case):
{{#premium_member}} Thank you for being a premium member for {{.}}! {{/premium_member}}reference: https://postmarkapp.com/support/article/1077-template-syntax#advanced-value-handling
Postmark Template Editor Test
Template:
Preview:


Is this an issue with the documentation or is there a bug in the Postmark template editor?