Using RStudio and rMarkdown, I have an ioslides presentation (an html file).

On one of the slides I want to have a link (cross-ref) to another slide in the same html. I did not find any useful hint in the internet how to achieve this.

The only syntax that work partialy is:

[click on this link](#6)

(e.g. to insert a link to slide #6).

However, this opens a new browser window, what I don't want. The presentation should just jump to the given slide within the very same presentation.

I also tried to include "toc: true" in the YAML header and used header names, like [click on this link](#my-header), but this results again in opeining a new window, and this always shows the first slide of the presentation.

Using

click here

works as desired in the RStudio preview window, but not when the html is opened in a regular browser (I tried firefox and iexplore).

I think since it is working in the preview window, it should somehow be possible in regular browser windows, too. I very much apprechiate any help. Thank you!

More Jochen Wilhelm's questions See All
Similar questions and discussions