powered by
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.
if (FALSE) { # in a knitr document guess_knitr_output_format() }
Run the code above in your browser using DataLab