Open renatodeleao opened 7 years ago
The code helper should strip indent for sure.
As for the un-indented example, not sure what's happening there.
We'll look into both!
Is that valid to have ;
to separate JSON elements? (I'm pretty sure that the answer is "no")
No, semicolons aren't valid anywhere in JSON, just commas.
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
Renders this:![image](https://d3uepj124s5rcx.cloudfront.net/items/3t3P2y1g1i3N430I1E3W/Image%202017-03-22%20at%203.34.06%20PM.png?v=0be7f062)
Putting the whole block unindented
Only removes first line whitespace![otherimage](https://d3uepj124s5rcx.cloudfront.net/items/1E2K3A0y2z0z1L3i2Q1J/Image%202017-03-22%20at%203.40.19%20PM.png?v=44cfbe41)
Any suggestion/help on how to workaround this or if i'm doing something wrong with the content? Thanks.