Ask Your Question
2

Can I display a table of contents (TOC) in sage worksheet?

asked 2015-09-01 15:21:30 +0100

stan gravatar image

I tend to create very long work sheets with multiple levels of headlines and code intermingled with html documentation. For a long time, I have been looking for a possibility to make navigation easier, either by code folding or a table of contents. I saw that the ipython notebook now includes code folding as an add-on, but is there anything that would work in the sage notebook?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2015-09-01 15:25:45 +0100

stan gravatar image

This Firefox add-on works great for that: https://addons.mozilla.org/en-US/firefox/addon/headingsmap/developers?src=api It works on any web page, i.e. also on the sage notebook and opens a side bar with all headings listed hierarchically. It allows to navigate to each heading just by clicking on it. To activate, right-click in worksheet and activate HeadingsMap. It does make switching between tabs a bit slow, so it is best to open worksheets in separate Firefox windows for that.

edit flag offensive delete link more

Comments

Is there an equivalent add-on for Chrome?

ensaba gravatar imageensaba ( 2017-06-08 03:08:39 +0100 )edit

This add-on has been removed

Cyrille gravatar imageCyrille ( 2020-05-10 11:19:22 +0100 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2015-09-01 15:21:30 +0100

Seen: 423 times

Last updated: Sep 01 '15