foundation / foundation/panini
[question] Multi-line code blocks within {{#code}} helper
- Dominant language
- JavaScript
- Stars
- 593
- Forks
- 104
- PR merge metrics
- No merged PRs in 30d
Description
Trying to use the `{{#code}}` helper for a documentation page which has several multi-line code blocks.
Syntax highlighting works as expected good but Indentation gets messed up.
This
```Handlebars
{{#code "JSON"}}
{
"key": 2;
"key2": "value";
}
{{/code}}
```
Renders this:

Putting the whole block unindented
```Handlebars
{{#code "JSON"}}
{
"key": 2;
"key2": "value";
}
{{/code}}
```
Only removes first line whitespace

Any suggestion/help on how to workaround this or if i'm doing something wrong with the content?
Thanks.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.