webpro/reveal-md

Internal links not working in some cases with vertical slides

nuke-web3 opened this issue · 4 comments

Here is a minimal reproducible example: https://github.com/NukeManDan/reveal-md/tree/broken-internal-links
(and the delta nuke-web3@75c4954 )

node bin/reveal-md.js demo/ and navigating to http://localhost:1948/sub/deep/d.md#/ will show the behavior:

  • working ones are as expected
  • broken ones will navigate to the title/first slide

Expected behavior is id specified will work with horizontal and vertical slides. Not sure if this is a reveal-md or reveal.js bug (I suspect the former).

webpro commented

Can you narrow it down to what links exactly fail and why/when?

main...NukeManDan:reveal-md:broken-internal-links shows the minimal diff here, where the link I hope are self describing 🤞

when I click a [something](#location) link in the slides, I expect to navigate to the slide in question, in the example here it doesn't navigate to the slide that includes that header.

webpro commented

Are you saying that the links like #/1 or #/2/1 are not working?

webpro commented

Closing due to inactivity. Not sure I understood, perhaps the answer is "custom internal links are not supported".