Also format base key and CodeMirror keys