I'm just wondering about Markdown-style tables and how to style them. I understand how to
kable_styling() when it comes to data frames formatted from chunk output. But I can't figure out what these are even called:
| rows | col 1 | col 2 | col 3 | |:-----|------:|------:|------:| | r1 | 39.3 | 45.5 | 123.4 | | r2 | 72.9 | 87.1 | 102.6 | | r3 | 91.0 | 88.5 | 174.3 |
I call them "tables". But I don't think that's a precise enough term, because I've been searching and searching and only come up with examples and documentation dealing with chunk stuff. When I use the
df_print: kable option in the front matter, they're kable, but full width, and "condensed".
My workaround to this has been to type my table into a
tribble() and render it with kable/kable_styling. This is a bit tedious, and, I don't know, it seems like I'm losing some of the basic power of markdown. Is there an
opts_chunk$set(), etc. or some kind of hook that controls these things?