% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/output_format.R
\name{output_format}
\alias{output_format}
\title{Detect the Current Output Format}
\usage{
output_format()
}
\value{
A character string: \code{"html"}, \code{"docx"}, \code{"typst"}, \code{"officer"},
or another format reported by \code{\link[knitr:output_type]{knitr::pandoc_to()}}.
}
\description{
Returns the output format of the current rendering context. When called
inside a Quarto/knitr document, delegates to \code{\link[knitr:output_type]{knitr::pandoc_to()}}.
When called outside of Quarto (e.g. in an officer-based script), returns
\code{"officer"}.
}
\examples{
\dontrun{
output_format()
}
}
