Description Usage Arguments See Also Examples
Either data
or file
must be passed.
1 2 3 4 5 6 7 8 9 10 11 | display_text(data = NULL, file = NULL)
display_json(data = NULL, file = NULL)
display_javascript(data = NULL, file = NULL)
display_html(data = NULL, file = NULL)
display_markdown(data = NULL, file = NULL)
display_latex(data = NULL, file = NULL)
|
data |
The code or markup content as a |
file |
The path to a file or a |
1 2 3 4 5 | ## Not run: ## (Run inside of an IRkernel)
display_text('Just text')
display_markdown('[MD](http://commonmark.org) *formatted*')
display_javascript('execute(this)')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.