FM_build_comment | R Documentation |
Takes a character string and builds a comment so it will be formatted as a section at the specified level in RStudio
FM_build_comment(level = 1, comment_str)
level |
Integer (1 (default),2, or 3) indicating the section level of the comment. |
comment_str |
Character object. |
Formatted comment.
FM_build_comment(1, "This is a level 1 header")
FM_build_comment(2, paste0(rep("Long string repeated.", 5), collapse=" "))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.