Return to site

Make clickable table of contents in word

broken image

H4(p('This is a short story about nature')), Width=6,offset=1,style='background-color:white border-radius: 10px')), H3(p(tags$em('Introduction'),style='color:black text-align:left font-family: Georgia font-size: 20px')), What I currently have for the text of the story is presented below. While I have successfully created the text (of the Story), I am not familiar with a way to create the clickable table of contents noted above. The clickable table of contents should appear within the same tab, at the very top of the text. clicking on 'Chapter I' in the table of contents would take me to Chapter I within the story. I am trying to create a clickable table of contents (similar to what can be done for instance in Microsoft Word), to link the various sections in that table of contents to the actual text within the Story (e.g. I currently have a Story as one of the tabs in my Shiny app.

broken image