Skip to content

Commit

Permalink
Merge pull request ipython#115 from minrk/heading-link
Browse files Browse the repository at this point in the history
add heading-anchor
  • Loading branch information
Carreau committed Apr 5, 2013
2 parents 670c867 + 9f9eeaa commit 2c64779
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/basichtml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ Out[{{cell.prompt_number}}]:
{% block headingcell scoped %}
<div class="text_cell_render border-box-sizing rendered_html">
<h{{cell.level}}>
<a class="heading-anchor" name="{{cell.source}}">
{{cell.source}}
</a>
</h{{cell.level}}>
</div>
{% endblock headingcell %}
Expand Down

0 comments on commit 2c64779

Please sign in to comment.