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 Oct. 2, 2024, 1:06 a.m.