foldstart | R Documentation |
Insert more information to function documentation without overwhelming the user by using foldstart and foldend macros.
foldstart(title = NULL) foldend()
title |
Title of the folded section, Default: NULL |
To enable this feature add to the DESCRIPTION
file
before rendering the roxygen2
:
Roxygen: list(markdown = TRUE)
character
# With title "#' \foldstart{This is an example} #' DOCUMENTATION #' \foldend" # With no title "#' \foldstart{} #' DOCUMENTATION #' \foldend"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.