##// END OF EJS Templates
updating my code to incorporate upstream changes; resolved a merge conflict in IPython/lib/display.py
updating my code to incorporate upstream changes; resolved a merge conflict in IPython/lib/display.py

File last commit:

r8202:21da9cd8
r8798:c1e52e56 merge
Show More
config.js
33 lines | 1.1 KiB | application/javascript | JavascriptLexer
//----------------------------------------------------------------------------
// Copyright (C) 2012 The IPython Development Team
//
// Distributed under the terms of the BSD License. The full license is in
// the file COPYING, distributed as part of this software.
//----------------------------------------------------------------------------
//============================================================================
// Notebook
//============================================================================
var IPython = (function (IPython) {
var config = {
cell_magic_highlight : {
'magic_javascript':{'reg':[/^%%javascript/]}
,'magic_perl' :{'reg':[/^%%perl/]}
,'magic_ruby' :{'reg':[/^%%ruby/]}
,'magic_python' :{'reg':[/^%%python3?/]}
,'magic_shell' :{'reg':[/^%%bash/]}
,'magic_r' :{'reg':[/^%%R/]}
},
raw_cell_highlight : {
'diff' :{'reg':[/^diff/]}
}
};
IPython.config = config;
return IPython;
}(IPython));