r/IPython • • May 18 '14

How to create a table of contents with internal links in IPython Notebooks and Markdown documents

http://nbviewer.ipython.org/github/rasbt/python_reference/blob/master/tutorials/table_of_contents_ipython.ipynb
8 Upvotes

3 comments sorted by

1

u/[deleted] May 19 '14

What's the work around for the invisible anchor tags to not cause the # symbols to show up when converting to html? That part of it wasn't clear. Move the anchor somewhere else? I guess I can do some trial and error on my part to find out. Thanks for this. I've been using name= attribute instead of id=.

2

u/[deleted] May 19 '14

I added some figures, hope it is more clear now :)

1

u/[deleted] May 19 '14

Thanks for the comment, you are right! I will update it later! The workaround is to just put the anchor tag into a separate cell... I think I will include so e screenshots to make it more clear