guess_knitr_output_format | R Documentation |
Convenience function which tries to guess the ultimate output from knitr and rmarkdown.
guess_knitr_output_format()
"html", "latex", or something else. If we are not in a knitr document, returns an empty string.
## Not run:
# in a knitr document
guess_knitr_output_format()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.