collapseStart: Print the collapse opening and ending

View source: R/collapseStart.R

collapseStartR Documentation

Print the collapse opening and ending

Description

Print HTML tags to open and close the collapsible chunks.

Usage

collapseStart(message)

collapseEnd()

Arguments

message

String containing a message to insert in the collapsible header.

Value

Both functions will cat HTML tags; one to start and another to end each collapsible chunk.

Author(s)

Aaron Lun

Examples

collapseStart("This is collapsible")
cat("something inside the chunk\n")
collapseEnd()


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