0

I have an ioslides_presentation with multiple slides (say 20). Some of the slides are optional (say 10-14). I want to allow the user to skip those optional slides (option to move directly from slide 9 to slide 15). Is this possible without going through each of the intermediate slides?

Edit

I want the slide to open in same tab. However, the following markdown opens a new tab in R v3.3.0 and knitr v1.12.3:

This is slide 5

[Go to slide 10](#/10)

Edit on edit

The following code opens a new tab starting from title slide in R v3.3.0 and knitr v1.12.3:

---

title: "Untitled"

output: ioslides_presentation

---

## R Markdown

[Go to slide 2](#/slide2)

## Slide with Bullets

id: slide2

Naveen Mathew
  • 362
  • 2
  • 14
  • Are you looking for "internal links" on slides like [here](https://support.rstudio.com/hc/en-us/articles/200714013-Slide-Transitions-and-Navigation)? (subsection "Slide Links") – CL. May 05 '16 at 20:36
  • Yes. This idea works well, but opens a new tab that begins at the given slide number. Is it possible to open it in the same tab? – Naveen Mathew May 06 '16 at 01:31
  • I cannot reproduce the new window/new tab issue, neither using Firefox nor in the RStudio Viewer. I suppose this is related to some settings on your system. Did you use an anchor as link target, like `#/slide1`? – CL. May 06 '16 at 07:37
  • Please check the latest edit for sample markdown. Effect: New tab opened starting with slide 10 – Naveen Mathew May 06 '16 at 10:53
  • You've got the syntax wrong in your example. You need to set an ID `id: myid` and use this a link target `#/myid`. Have you tried the example provided in the linked documentation chapter? – CL. May 06 '16 at 11:39
  • Please check edit on edit – Naveen Mathew May 06 '16 at 19:37
  • 1
    Found an answer on SO: http://stackoverflow.com/questions/26807477/hyperlinking-within-an-html-presentation-using-r-markdown – Naveen Mathew May 10 '16 at 05:06

0 Answers0