Rmarkdown - Duplicated TOC (Table of content)

不问归期 提交于 2021-02-09 10:57:33

问题


Hello StackOverflow community,

When creating an Rmarkdown document all goes fine and table of content appears as intended. TOC Correct

When I open the HTML in my browser from Rstudio to my browser it does as well appear correctly.

The issue happens when I save that HTML and open it later on or send it to somebody, the TOC would then appear duplicated.

TOC with duplicated items

Below is the code used regarding the toc in my .rmd file.

  output: 
  html_document:
    toc: true
    toc_float : true

Would you know what I am doing wrong or might be missing. Thanks in advance for any feedback!

来源:https://stackoverflow.com/questions/54653271/rmarkdown-duplicated-toc-table-of-content

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!