[markdown mode] Fix code block styling after indented line

This should fix Issue #2479.