sirthias / pegdown

A pure-Java Markdown processor based on a parboiled PEG parser supporting a number of extensions
http://pegdown.org
Apache License 2.0
1.29k stars 217 forks source link

code block work error #138

Closed yidongnan closed 9 years ago

yidongnan commented 10 years ago

code block:

int i=0;

i++;

render result work error image

code block:

int i=0;
i++;

render result don't work image

sirthias commented 10 years ago

I am sorry, but I don't understand your issues description. What is the problem?

christ66 commented 9 years ago

@sirthias I think the issue is the space between the two lines which causes the rendering to not be correct.

vsch commented 9 years ago

It looks more like he is trying to create a code block with indents without leaving a blank line between the paragraph and the code block.

It is not an error but a misunderstanding of markdown.

I think this issue can be closed.

sirthias commented 9 years ago

Ok, thanks @vsch!