内部链接跳到幻灯片片段的末尾

时间:2019-06-19 05:29:53

标签: html reveal.js

在reveal.js中,我如何有一个内部链接<a href="/#/13/0/-1">Link</a>,它实际上跳到幻灯片的开头而不是结尾。 当我单击链接时,它跳到localhost:3000/#/13/0/5。当我在网址中输入/#/13/0/-1并按Enter时,它是有效的...,当我在链接中使用target="_blank"时。

是否有配置错误? 我使用最新的master分支。

 Reveal.initialize({
      controls: true,
      progress: true,
      history: true,
      hash: false,
      fragmentInURL: true,
      center: true,
      mouseWheel: false,
      slideNumber: "c/t",
      transition: 'fade', // none/fade/slide/convex/concave/zoom
      width: 960,
      heigh: 540,
      margin: 0,
      minScale: 0.001,
      maxScale: 40,
      pdfSeparateFragments: true,
      hideInactiveMouse: true,
      hideMouseTime: 1000,

1 个答案:

答案 0 :(得分:0)

这是显示代码焦点插件https://github.com/bnjmnt4n/reveal-code-focus/issues/20

中的错误