You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As long as I use the standard .md format, everything works perfectly. But, when the same file is saved as .Rmd (R markdown, R is a programming language) and then render it as an .html file, the table of contents stops working, ie it does not recognize the document headers.
.html file rendered from the .rmd
.md file (same content as in the previous one)
btw Many thanks for the awesome theme!
The text was updated successfully, but these errors were encountered:
StellAuror
changed the title
Posts' Table of Contents works with .md files only
Posts' Table of Contents dosen't work with .rmd files
Oct 29, 2022
Hi @StellAuror, the Table Of Contents uses Hugo's .TableOfContents page variable. The TOC is generated by Hugo itself. I am suspecting Hugo is not generating it properly for .rmd files.
Hello, I struggle with posts' Table of Contents.
As long as I use the standard .md format, everything works perfectly. But, when the same file is saved as .Rmd (R markdown, R is a programming language) and then render it as an .html file, the table of contents stops working, ie it does not recognize the document headers.
.html file rendered from the .rmd
.md file (same content as in the previous one)
btw Many thanks for the awesome theme!
The text was updated successfully, but these errors were encountered: