##// END OF EJS Templates
Merge pull request #2291 from ellisonbg/rmplugin...
Merge pull request #2291 from ellisonbg/rmplugin Remove old plugin system

File last commit:

r8202:21da9cd8
r8514:2e9bf5c2 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));