setupHTML: Set up HTML elements

View source: R/setupHTML.R

setupHTMLR Documentation

Set up HTML elements

Description

Set up Javascript and CSS elements for each chapter, primarily for the custom collapsible class.

Usage

setupHTML()

Details

The custom collapsible class allows us to hide details until requested by the user. This improves readability by reducing the clutter in the compiled chapter.

Value

Prints HTML to standard output set up JS and CSS elements.

Author(s)

Aaron Lun

See Also

chapterPreamble, which calls this function.

extractCached and prettySessionInfo, which use the custom collapsible class.

Examples

setupHTML()


LTLA/rebook documentation built on June 5, 2023, 6:24 p.m.