Skip to content
Discussion options

You must be logged in to vote

One important thing to understand is that knitr::kable() will output Markdown by default, unless you specify some options. You can see that by using keep-md: true to see the intermediary file.
When you are using kableExtra package, you are forcing HTML or LaTeX table for kable(). This is in the doc:

Starting fromkableExtra0.9.0,whenyouloadthispackage(library(kableExtra)),itwillautomaticallysetup theglobaloption‘knitr.table.format’basedonyourcurrentenvironment.

Doc is here and you should really read it before using kableExtra : https://haozhu233.github.io/kableExtra/

Now you understand the difference, you need to understand that Quarto will do some processing to make Tables looks good, a…

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by kmink3225
Comment options

You must be logged in to vote
2 replies
@cderv
Comment options

@kmink3225
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
tables Issues with Tables including the gt integration latex LaTeX engines related libraries and technologies
3 participants