To center a table in a code chunk using Quarto, you can place tbl-align
at the beginning of the code chunk. Here is an example with julia code:
#| label: tbl-my-sample-table
#| tbl-cap: This table should be centered.
#| tbl-align: center
display(df_some_data_frame)