Improve warning message
diff --git a/R/kable_styling.R b/R/kable_styling.R
index d349120..305d3d0 100644
--- a/R/kable_styling.R
+++ b/R/kable_styling.R
@@ -79,8 +79,10 @@
kable_format <- attr(kable_input, "format")
if (!kable_format %in% c("html", "latex")) {
- message("Currently generic markdown table using pandoc is not supported.")
- return(kable_input)
+ 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") {
if (is.null(full_width)) {