Remove an auto-generated table of contents (TOC) from an (R) Markdown document
Source:R/tocr.gen.R
remove_toc.Rd
This is a simple convenience wrapper for add_toc(..., position = "none")
.
Arguments
- md
(R) Markdown document to be processed as a single file path, a single URL or a character vector (one string per line).
- old_toc_id
HTML
<id>
attribute of the old TOC title (in order to have old backlinks with an ID other thantoc_id
removed). A character scalar.