Internal Links not working

#20 · open · 1 comments

View on GitHub ↗

gabyx

Having internal links to certain fragments will not work with this plugin, since: the code in `updateCurrentSlide` makes a call to ``` while (Reveal.nextFragment()) {} ``` which will neglect fragment numbers. How can we fix that, I think, that the code is wrong, and we should only highlight the code up to the current fragment index,...

Comments

bnjmnt4n

The reason why I wrote that code was to ensure that when navigating backwards to a previous slide, the current-fragment class was not set, as you’ve spotted in hakimel/reveal.js#2439. I guess I haven’t thought of the situation of linking to fragments. Will have to think about how to implement this properly and think of a fix for Reveal.js as well.