Closed AllanJard closed 2 years ago
Been reading a bit more about this and it seems the Markdown parser won't parse stuff inside the fenced code block. So this can't work. But with that information I can do simply:
```js
{{#if selfHostedDocs}}
// Do 1
{{else}}
// Do 2
{{/if}}
Then Handlebars can run on that. That will do nicely for my use case :-)
Hi,
Is there a way to use a container inside a code block? I'm hoping to use it for some example code combined with a markdown condition - e.g.: