RISE icon indicating copy to clipboard operation
RISE copied to clipboard

internal links

Open rzuritamilla opened this issue 7 years ago • 6 comments

I am having problems with internal links in reveal.js In my Jupyter notebook i created a cell (slide) with <a id='installation'></a> then in another cell (slide) with the TOC I wrote: option 1 [1. Installation] (#installation)

option 2 <a href='#installation'>1. Installation </a>

Both options take me to the first cell(slide) and not to the one with the id = 'installation' What might be going on? What is the proper way to use internal links in RISE?

Thanks, Raul

rzuritamilla avatar Jun 01 '17 08:06 rzuritamilla

Something like this should work:

<a href="#/2/2">Link</a>

For "named" references, we currently don't have a way to add an specific id in the <section> element, so this is why you are probably seeing issues with this approach.

damianavila avatar Jun 01 '17 16:06 damianavila

Thanks Damian! Yes that works but only inside the slideshow. I was looking for way to use the same link inside the notebook and in the slideshow Now I have two ToC: one that uses "named" references and that works fine in the jupyter notebook (and that I skip when creating the slideshow), and another one based on numbers that works fine when I use the RISE/reveal.js slideshow mode.

Do you have any suggestion to create a "universal" link (a ToC in my case)?

Thanks, Raul

rzuritamilla avatar Jun 02 '17 15:06 rzuritamilla

Do you have any suggestion to create a "universal" link (a ToC in my case)?

Need to think about this, probably not something super easy to do because the notebook and slideshow structures are different. But as I said, I need to think a little bit more on this.

damianavila avatar Jun 02 '17 15:06 damianavila

Upvoting this... I also was hoping this just works, but realized it did not (yet). Bump!

larsgeorge avatar May 30 '19 16:05 larsgeorge

Is there any update on this? I see that it is still not working.

rdauria avatar Feb 14 '22 23:02 rdauria

No updates.

damianavila avatar Mar 09 '22 00:03 damianavila