Improve warning message
diff --git a/R/footnote.R b/R/footnote.R
index bb48e0d..066e96f 100644
--- a/R/footnote.R
+++ b/R/footnote.R
@@ -51,7 +51,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 (length(alphabet) > 26) {