R/doc_type.R
doc_type.Rd
Return the rmarkdown document output type as string.
doc_type()
Output document type as a string: "pdf", "html", or "other".
For use in Rmarkdown documents. Returns the output document type as a string.
is_html_output
Dave Braze davebraze@gmail.com
doc_type() #> [1] "other"