##// END OF EJS Templates
enable cython highlight in notebook
Matthias BUSSONNIER -
Show More
@@ -50,12 +50,13 b' var IPython = (function (IPython) {'
50 * cell_magic_highlight['javascript'] = {'reg':[/^var/]}
50 * cell_magic_highlight['javascript'] = {'reg':[/^var/]}
51 */
51 */
52 cell_magic_highlight : {
52 cell_magic_highlight : {
53 'magic_javascript':{'reg':[/^%%javascript/]}
53 'magic_javascript' :{'reg':[/^%%javascript/]}
54 ,'magic_perl' :{'reg':[/^%%perl/]}
54 ,'magic_perl' :{'reg':[/^%%perl/]}
55 ,'magic_ruby' :{'reg':[/^%%ruby/]}
55 ,'magic_ruby' :{'reg':[/^%%ruby/]}
56 ,'magic_python' :{'reg':[/^%%python3?/]}
56 ,'magic_python' :{'reg':[/^%%python3?/]}
57 ,'magic_shell' :{'reg':[/^%%bash/]}
57 ,'magic_shell' :{'reg':[/^%%bash/]}
58 ,'magic_r' :{'reg':[/^%%R/]}
58 ,'magic_r' :{'reg':[/^%%R/]}
59 ,'magic_text/x-cython' :{'reg':[/^%%cython/]}
59 },
60 },
60
61
61 /**
62 /**
General Comments 0
You need to be logged in to leave comments. Login now