add note to as_image
diff --git a/man/as_image.Rd b/man/as_image.Rd
index 8ca65be..8fcdce4 100644
--- a/man/as_image.Rd
+++ b/man/as_image.Rd
@@ -14,6 +14,11 @@
\item{height}{Image height in inches. (1 inch = 2.54 cm)}
\item{...}{Additional arguments passed to save_kable.}
+
+\item{file}{By default, as_image saves to an temp file, which works for
+normal rmarkdown. However if you are using things like xaringan, which can't
+be a standalone html, you can specify this file be the path you need, eg.
+"img/something.png"}
}
\description{
This function generates a temporary png file using \code{save_kable}