collapseStart {rebook}R 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()


[Package rebook version 1.3.1 Index]