add_text | R Documentation |
Add text to a chronicle Rmarkdown report
add_text(report = "", text, text_title = NULL, title_level = 2)
report |
Character string containing all the R Markdown chunks previously added. Default is ”, an empty report. |
text |
The text that will be added to the report. |
text_title |
The title of the text section. Default is NULL. |
title_level |
Level of the section title of this text (ie, number of # on Rmarkdown syntax.) Default is 1. |
The text of the Rmarkdown report plus an additional section with the text.
html_report <- add_text(text = 'This is the text that will be seen outside of any chunk',
text_title = 'Text title')
cat(html_report)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.