What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 134 Stack Exchange communities.

The code block instructions say

To create code blocks or other preformatted text, indent by four spaces:

but it fails to mention that you also need to have a blank line before the code block as well.

For instance, this example won't work because there is just a new line after this text and four spaces Some code example

and this example will work because there is a blank line

Some code example

Is this a bug or documentation error?

share|improve this question
3  
That's not a bug, but indeed the documentation could be clearer. (This doesn't apply just to code blocks, lists also need a blank line.) –  Mat Feb 13 '13 at 13:14

You must log in to answer this question.

Browse other questions tagged .