Improve warning message
diff --git a/R/add_indent.R b/R/add_indent.R
index 8dc2d4d..886fc1c 100644
--- a/R/add_indent.R
+++ b/R/add_indent.R
@@ -15,7 +15,9 @@
}
kable_format <- attr(kable_input, "format")
if (!kable_format %in% c("html", "latex")) {
- message("Currently generic markdown table using pandoc is not supported.")
+ warning("Please specify format in kable. kableExtra can customize either ",
+ "HTML or LaTeX outputs. See https://haozhu233.github.io/kableExtra/ ",
+ "for details.")
return(kable_input)
}
if (kable_format == "html") {