Open debarshri opened 8 years ago
I can not verify this issue by the example you give:
public static void main(final String[] args)
{
final String markdown = "~ ~ ~ ~ ~\n" +
"if (a > 3) {\n" +
" moveShip(5 * gravity, DOWN);\n" +
"}\n";
final Configuration conf = Configuration.builder().forceExtentedProfile().build();
final String result = Processor.process(markdown, conf);
System.out.println(result);
}
outputs:
<pre><code>if (a > 3) {
moveShip(5 * gravity, DOWN);
}
</code></pre>
which is exactly what I expected, even though the code block isn't closed here (the closing fence is missing).
Ah. I was not using any configuration.
I used
Processor.process(markdown)
So I have this statement