Generates Typst code from a typst_table object. This is called automatically
by print() and knit_print(), but can also be called directly.
Examples
code <- tt(mtcars[1:3, 1:3]) |> tt_render()
cat(code)
#> #table(
#> columns: (auto, auto, auto),
#> stroke: none,
#> table.header(
#> table.hline(stroke: 1pt),
#> [mpg], [cyl], [disp],
#> table.hline(stroke: 0.5pt)
#> ),
#> [21], [6], [160],
#> [21], [6], [160],
#> [22.8], [4], [108],
#> table.hline(stroke: 1pt)
#> )