guess_knitr_output_format: Guess knitr output format

View source: R/knitr.R

guess_knitr_output_formatR Documentation

Guess knitr output format

Description

Convenience function which tries to guess the ultimate output from knitr and rmarkdown.

Usage

guess_knitr_output_format()

Value

"html", "latex", or something else. If we are not in a knitr document, returns an empty string.

Examples

## Not run: 
# in a knitr document
guess_knitr_output_format()

## End(Not run)

huxtable documentation built on June 15, 2022, 5:10 p.m.