View source: R/conditional_publishing_output.R
conditional_publishing_output | R Documentation |
Conditional display of specified objects when RMarkdown document is knitted. Expression will display the object only in the specified Rmarkdown output type.
conditional_publishing_output(output, publication_type)
output |
object to display in the document; can be a table, text, graph, or image. |
publication_type |
string describing type of RMarkdown output you would like the object to appear in. Options include "html" for html_document, "docx" for word_document, and "latex" for pdf_document. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.