Fixing highlighting for markdown documents