View source: R/collapseStart.R
collapseStart | R Documentation |
Print HTML tags to open and close the collapsible chunks.
collapseStart(message)
collapseEnd()
message |
String containing a message to insert in the collapsible header. |
Both functions will cat
HTML tags; one to start and another to end each collapsible chunk.
Aaron Lun
collapseStart("This is collapsible")
cat("something inside the chunk\n")
collapseEnd()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.