From ce90bdb2d594023d082b4cf3492c7e7dd0af109b Mon Sep 17 00:00:00 2001 From: Matthias Bussonnier Date: Fri, 15 May 2015 09:33:28 -0700 Subject: [PATCH] re-enable highlighting for ipython kernel Default mode is now `text` and not ipython. so the `ipython` mode was not dispatched. --- notebook/static/notebook/js/notebook.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notebook/static/notebook/js/notebook.js b/notebook/static/notebook/js/notebook.js index 808e530b9..93a112315 100644 --- a/notebook/static/notebook/js/notebook.js +++ b/notebook/static/notebook/js/notebook.js @@ -135,7 +135,7 @@ define(function (require) { this.notebook_name_blacklist_re = /[\/\\:]/; this.nbformat = 4; // Increment this when changing the nbformat this.nbformat_minor = this.current_nbformat_minor = 0; // Increment this when changing the nbformat - this.codemirror_mode = 'ipython'; + this.codemirror_mode = 'text'; this.create_elements(); this.bind_events(); this.kernel_selector = null;