My apologies, let me try to clean this up:
I have made an rmarkdown document like the below minimal example that uses Shiny. My problem is with the links to the sections. They work fine in RStudio, but for some reason, when the .Rmd file is put on my Shiny server and accessed from the web, the link #top works but the link #template does not.
Any help would be greatly appreciated. Here is the code from R markdown:
---
title: "Step by step normal app"
author: "Dan"
date: "March 1, 2018"
output: html_document
runtime: shiny
---
Stuff above the introduction.
## Introduction {`#top`}
## The Template {`#template`}
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
```
[Make a lot of vertical space so you can see the effect of the links]
This should make a [link to the top of the page](#top).
This should make a [link to the template](#template).
Thanks again!