Learn R Programming

officedown (version 0.0.5.003)

block_toc: add a table of content

Description

add a table of content as a block output in an R Markdown document.

Usage

block_toc(level = 3, style = NULL, separator = ";")

Arguments

level

max title level of the table

style

optional. style in the document that will be used to build entries of the TOC.

separator

optional. Some configurations need "," (i.e. from Canada) separator instead of ";"