Add mode information for codemirror to properly style html