Possible Duplicate:
How to nest code within a list using markdown
If there is a list immediately followed by a code block the code block is not recognized as code
(Even though there is a newline between the two).
int answer = 42;
Note: This happens both in the WMD preview and in the final (server rendered) post.