Hyperlinking within an HTML Presentation using R Markdown

前端 未结 2 742
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-21 05:35

I hope I\'ve tagged this correctly - I\'d like to create an HTML presentation using Markdown in R Studio. What I\'d like to do is to create hyperlinks that will jump to a specif

2条回答
  •  时光取名叫无心
    2021-01-21 05:53

    R Markdown produces slides which can be href'd by title; this should work:

    ## Slide 1
    
    This is the first slide. I'd like to be able to insert hyperlinks to
    a different page within the slide. For example:
    
    [Slide 2](#/my-second-slide) - clicking this would jump to slide 2
    
    [Slide 3](#/my-third-slide) - clicking this would jump to slide 3
    
    ## My second slide
    
    Text for slide 2
    
    ## My third slide
    

提交回复
热议问题