Improve warning message
diff --git a/R/row_spec.R b/R/row_spec.R
index ee27be7..0d3d74a 100644
--- a/R/row_spec.R
+++ b/R/row_spec.R
@@ -49,7 +49,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") {