##// END OF EJS Templates
Added support for markdown in heading cells when they are nbconverted.
damianavila -
Show More
@@ -62,7 +62,7 b' Out[{{cell.prompt_number}}]:'
62 62 <h{{cell.level}}>
63 63 {% set source = cell.source | replace(' ','_') %}
64 64 <a class="heading-anchor" id="{{source}}" href="#{{source}}">
65 {{cell.source}}
65 {{cell.source | markdown| rm_fake}}
66 66 </a>
67 67 </h{{cell.level}}>
68 68 </div>
@@ -61,7 +61,7 b' $$'
61 61
62 62 {% block headingcell scoped %}
63 63
64 {{ '#' * cell.level }} {{ cell.source}}
64 {{ '#' * cell.level }} {{ cell.source | wrap(80)}}
65 65
66 66 {% endblock headingcell %}
67 67
@@ -64,7 +64,7 b' Out[{{cell.prompt_number}}]:{% endif %}{% endblock output_prompt %}'
64 64
65 65 {% block headingcell scoped %}
66 66 {%- set len = cell.source|length -%}
67 {{ cell.source}}
67 {{ cell.source | markdown2rst}}
68 68 {% if cell.level == 1 %}
69 69 {{- '=' * len }}
70 70 {%- elif cell.level == 2 %}
General Comments 0
You need to be logged in to leave comments. Login now