search for: html_document2

Displaying 1 result from an estimated 1 matches for "html_document2".

Did you mean: html_document
2018 Feb 21
0
Adding a table of contents to html output using the bookdown package
...ity in switching back and forth between html, pdf, and Word output, and to get section numbering and the ability to cross reference tables and figures by number, I am rendering my .Rmd files using a command like library(bookdown) render('test.Rmd', output_dir='.', output_format=html_document2(number_sections=TRUE) ) Then there is no table of contents. Are there an additional argument I could add to this render() command to get a TOC? I've looked, and haven't been able to find one. Thanks -Don p.s. On the other hand, with render('test.Rmd', output_dir='.'...