Closed hawkerm closed 2 years ago
Isn't a Wyam.io issue IMO so much as Markdown. You're pretty much stuck with using space chars in your code block to fake the indent AFAIK or use HTML directly and lose pygments. Happy to learn an alternate.
Create a Spaceship class:
```java ␠␠␠␠import java.awt.Color; ...
Will render:
Create a Spaceship class:
import java.awt.Color;
...
I'm slowly working on cleaning up some of the issues that came over from Wyam. Since this one is pretty old I'm going to go ahead and close it. Please don't hesitate to comment or open a new one if it turns out this issue is still relevant in Statiq.
If I have the following markdown:
It will render the fenced blocks:
But if I instead make the first element an item in a list, it'll render as expected:
It'll also render fine if I don't indent the code block:
However, I'm trying to indent the code block on the page itself.