fixed multiple highlights and tab preferences for markdown