From e68fe30d1007a4485d012c6f0ac40a9d20129967 2013-07-08 21:18:32 From: damianavila Date: 2013-07-08 21:18:32 Subject: [PATCH] Do not wrap headers in markdown.tpl because inconsistency in the interpretation of multiline headers. --- diff --git a/IPython/nbconvert/templates/markdown.tpl b/IPython/nbconvert/templates/markdown.tpl index e35986d..732192a 100644 --- a/IPython/nbconvert/templates/markdown.tpl +++ b/IPython/nbconvert/templates/markdown.tpl @@ -61,7 +61,7 @@ $$ {% block headingcell scoped %} -{{ '#' * cell.level }} {{ cell.source | wordwrap(80, False, '\n'+'#' * cell.level+' ')}} +{{ '#' * cell.level }} {{ cell.source }} {% endblock headingcell %}