bump version
diff --git a/DESCRIPTION b/DESCRIPTION
index 7bd1cb6..dd302f2 100644
--- a/DESCRIPTION
+++ b/DESCRIPTION
@@ -1,7 +1,7 @@
Package: kableExtra
Type: Package
Title: Construct Complex Table with 'kable' and Pipe Syntax
-Version: 0.4.0.9001
+Version: 0.5.0
Authors@R: c(
person('Hao', 'Zhu', email = 'haozhu233@gmail.com', role = c('aut', 'cre')),
person('Timothy', 'Tsai', role = 'ctb'),
diff --git a/R/kable_as_image.R b/R/kable_as_image.R
index ff030cc..ed4bb29 100644
--- a/R/kable_as_image.R
+++ b/R/kable_as_image.R
@@ -28,7 +28,8 @@
#' @param keep_pdf A T/F option to control if the mid-way standalone pdf should
#' be kept. Default is `FALSE`.
#'
-#' @examples kable_as_image(kanitr::kble(mtcars, "latex"), "mtcars")
+#' @examples kable_as_image(knitr::kable(mtcars, "latex", booktabs = TRUE), "mtcars")
+#'
#' @export
kable_as_image <- function(kable_input, filename = NULL,
file_format = "png",
diff --git a/man/kable_as_image.Rd b/man/kable_as_image.Rd
index 80e5bae..4492fff 100644
--- a/man/kable_as_image.Rd
+++ b/man/kable_as_image.Rd
@@ -42,5 +42,6 @@
package, which allows you to preview the results of TeX code in the Viewer panel.
}
\examples{
-kable_as_image(kanitr::kble(mtcars, "latex"), "mtcars")
+kable_as_image(knitr::kable(mtcars, "latex", booktabs = TRUE), "mtcars")
+
}