kableDark | R Documentation |
This returns a html table with the input data
kableDark(data, caption = NULL, position = NULL)
data |
A data.frame containing data of interest to show via a table |
caption |
A caption for the table |
position |
The position for the table if used within a quarto document. This is the "real" or say floating position for the latex table environment. The kable only puts tables in a table environment when a caption is provided. That is also the reason why your tables will be floating around if you specify captions for your table. Possible choices are h (here), t (top, default), b (bottom) and p (on a dedicated page). |
Input the data that you want to be shown via a dark html table
An object of class 'knitr_kable' that will show the data via a nice html table
Other helper:
getExampleConnectionDetails()
,
printReactable()
,
removeSpaces()
kableDark(
data = data.frame(a=1,b=4),
caption = 'A made up table to demonstrate this function',
position = 'h'
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.