From 166c9cbb7d42cd170e57fef1ec8c4bd1dee93fe4 Mon Sep 17 00:00:00 2001 From: Marvin Steadfast Date: Wed, 22 Apr 2015 12:20:49 +0200 Subject: [PATCH] little workaround to get syntax highlighting back in ipython notebooks --- pelicanconf.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pelicanconf.py b/pelicanconf.py index 8913fdc..22efd31 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -68,7 +68,8 @@ PLUGIN_PATHS = ['pelican-plugins'] PLUGINS = ['liquid_tags.youtube', 'liquid_tags.vimeo', 'liquid_tags.notebook'] NOTEBOOK_DIR = 'notebooks' -EXTRA_HEADER = open('_nb_header.html').read().decode('utf-8') +EXTRA_HEADER = open('_nb_header.html').read().decode('utf-8').replace( + 'highlight', 'highlight-ipynb') LOAD_CONTENT_CACHE = True