Commit f8bcfbda3f0e72786d31d3f282562206f26fdd98
1 parent
6780eae6
added extension for syntax highlighting in python notebooks
Showing
1 changed file
with
1 additions
and
1 deletions
doc/source/conf.py
| ... | ... | @@ -37,7 +37,7 @@ except: |
| 37 | 37 | |
| 38 | 38 | try: |
| 39 | 39 | import nbsphinx |
| 40 | - extensions += ['nbsphinx'] | |
| 40 | + extensions += ['nbsphinx','IPython.sphinxext.ipython_console_highlighting'] | |
| 41 | 41 | except: |
| 42 | 42 | print('WARNING: Python package `nbsphinx` not found.\n' |
| 43 | 43 | 'WARNING: Please install it to get fully-functional Sphinx docs.\n' | ... | ... |