diff --git a/IPython/nbconvert/templates/html/basic.tpl b/IPython/nbconvert/templates/html/basic.tpl index aa8c40a..9a7e428 100644 --- a/IPython/nbconvert/templates/html/basic.tpl +++ b/IPython/nbconvert/templates/html/basic.tpl @@ -2,7 +2,7 @@ {% block codecell %} -
+
{{ super() }}
{%- endblock codecell %} @@ -40,9 +40,11 @@ In [{{ cell.prompt_number }}]: {% endblock output_prompt %} {% block input %} -
+
+
{{ cell.input | highlight2html(language=resources.get('language'), metadata=cell.metadata) }}
+
{%- endblock input %} {% block output %} @@ -59,7 +61,7 @@ In [{{ cell.prompt_number }}]: {% endblock output %} {% block markdowncell scoped %} -
+
{{ self.empty_in_prompt() }}
@@ -72,7 +74,7 @@ In [{{ cell.prompt_number }}]: {%- endblock markdowncell %} {% block headingcell scoped %} -
+
{{ self.empty_in_prompt() }}
@@ -89,7 +91,7 @@ unknown type {{ cell.type }} {% endblock unknowncell %} {% block pyout -%} -
+
{% block data_priority scoped %} {{ super() }} {% endblock %} diff --git a/IPython/nbconvert/templates/html/full.tpl b/IPython/nbconvert/templates/html/full.tpl index 74d87a9..dfdd0b4 100644 --- a/IPython/nbconvert/templates/html/full.tpl +++ b/IPython/nbconvert/templates/html/full.tpl @@ -60,7 +60,17 @@ pre { {% block body %} +
+
+
+
+
{{ super() }} +
+
+
+
+
{%- endblock body %}