Finished and published on github my first website using Distill package in RStudio: https://crlnp.github.io/3-objets.html
On this page I include several images in my rmarkdown document and it causes problems with the table of contents: the headings are duplicated and don't scrolldown adequatly. My present configuration is this:
toc: true
toc_float:
collapsed: false
Smooth_scroll: false
code_download: true
But I have tried every combination of toc_float: options possible and it does not solve the problem. Also tried changing the heading levels (all #, ...). The problem appears wether the image is inserted traditionally or in a code bloc. If I take out the images in my file, the TOC works properly. I have not been able to find any information on this issue. Thanks in advance for any help!
Crossposting from stackoverflow