restore ipython and ipython-gfm modes