Moving and Hiding Table of Contents
hidingTOC.RdMoving and hiding table of contents for Rmd HTML documents
Arguments
the text on the button that hides and unhides the table of contents. Defaults to
Contents.- levels
the max depth of the table of contents that it is desired to have control over the display of. (defaults to 3)
- tocSide
which side of the page should the table of contents be placed on. Can be either
'right'or'left'. Defaults to'right'which side of the page should the button that hides the TOC be placed on. Can be either
'right'or'left'. Defaults to'right'- posCollapse
if
'margin'then display the depth select buttons vertically along the side of the page choosen bybuttonSide. If'top'then display the depth select buttons horizontally under the button that hides the TOC. Defaults to'margin'.'bottom'is currently unimplemented.Logical should the table of contents be hidden at page load Defaults to
FALSE