As mentioned [here][1], you have to add a comment after the list to help the markdown interpreter: - List item - List item <!----> code Will show - List item - List item <!----> code [1]: http://meta.stackoverflow.com/questions/298640/how-do-i-format-as-code-after-a-list