move doc to vignette
diff --git a/man/as_image.Rd b/man/as_image.Rd
index 8fcdce4..1d1688a 100644
--- a/man/as_image.Rd
+++ b/man/as_image.Rd
@@ -4,7 +4,7 @@
\alias{as_image}
\title{Render the table as an format-independent image and use it in rmarkdown}
\usage{
-as_image(x, width = NULL, height = NULL, ...)
+as_image(x, width = NULL, height = NULL, file = NULL, ...)
}
\arguments{
\item{x}{kable input. Either HTML or LaTeX}
@@ -13,12 +13,12 @@
\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"}
+
+\item{...}{Additional arguments passed to save_kable.}
}
\description{
This function generates a temporary png file using \code{save_kable}