End a list preceding a code block so that the code block appears a code block and not as a mess.