From e435d6caf20120c0cf2ce1f60f634c4068062ee3 Mon Sep 17 00:00:00 2001 From: Vincent Arel-Bundock Date: Tue, 5 Dec 2023 06:48:06 -0500 Subject: [PATCH] news --- inst/NEWS.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/inst/NEWS.md b/inst/NEWS.md index 5d61c27..d19711e 100644 --- a/inst/NEWS.md +++ b/inst/NEWS.md @@ -11,6 +11,17 @@ shown (issue #726). * centering of three part table wasn't working (issue #692) * add_footnote(notation = "none") didn't work properly in Markdown output (issue #672) +* In previous versions, kableExtra manipulated knitr's global settings to auto +format tables. In 1.4.0, we introduced a markdown table parser, which will +parse the inputting markdown table back to a dataframe and resend it to the +kbl function. In this way, all the auto formatting happens within this +package. In terms of latex table specifically, we also turned on booktabs and +longtable by default to mimic the default behavior of how pandoc handle +markdown tables. As a result, most users won't even feel the change. The only +part that gets impacted is the table labels or references set within the kable +function through the label option. For this part, first, people can set labels +using knitr chunk options. Also, people can easily overcome it by either using +kbl or setting format in kable.