From 6b1a0c9c718615b47dfa3959024874052e92a5b2 2015-06-02 18:37:33 From: Matthias Bussonnier Date: 2015-06-02 18:37:33 Subject: [PATCH] Merge pull request #8501 from takluyver/backport-nbconvert-5 Remove pdf from display order for HTML export --- diff --git a/IPython/nbconvert/exporters/html.py b/IPython/nbconvert/exporters/html.py index f306cad..8f2658b 100644 --- a/IPython/nbconvert/exporters/html.py +++ b/IPython/nbconvert/exporters/html.py @@ -37,7 +37,15 @@ class HTMLExporter(TemplateExporter): def default_config(self): c = Config({ 'NbConvertBase': { - 'display_data_priority' : ['application/javascript', 'text/html', 'text/markdown', 'application/pdf', 'image/svg+xml', 'text/latex', 'image/png', 'image/jpeg', 'text/plain'] + 'display_data_priority' : ['application/javascript', + 'text/html', + 'text/markdown', + 'image/svg+xml', + 'text/latex', + 'image/png', + 'image/jpeg', + 'text/plain' + ] }, 'CSSHTMLHeaderPreprocessor':{ 'enabled':True