From 6001d256bc8782d88d7835fe43faa5699c528b38 2013-09-18 17:52:45 From: Pablo de Oliveira Date: 2013-09-18 17:52:45 Subject: [PATCH] HighlightMagics: Add new default languages --- diff --git a/IPython/nbconvert/preprocessors/highlightmagics.py b/IPython/nbconvert/preprocessors/highlightmagics.py index 2d73718..27e03cc 100644 --- a/IPython/nbconvert/preprocessors/highlightmagics.py +++ b/IPython/nbconvert/preprocessors/highlightmagics.py @@ -40,9 +40,14 @@ class HighlightMagicsPreprocessor(Preprocessor): default_value={ '%%R': 'r', '%%bash': 'bash', + '%%cython': 'cython', + '%%javascript': 'javascript', + '%%julia': 'julia', + '%%latex': 'latex', '%%octave': 'octave', '%%perl': 'perl', - '%%ruby': 'ruby'}, + '%%ruby': 'ruby', + '%%sh': 'sh'}, config=False) # user defined language extensions