Hi, I'm having the same issue which was brought up in the question linked in the title.
I need to render some table in a word document but my table caption disappears once the document is rendered
here's my code
title: "Table example"
format:
docx
editor: visual
#| echo: false
#| label: table_1
library(tidyverse)
library(gtsummary)
library(gt)
mtcars %>%
tbl_summary() %>%
as_gt() %>%
tab_caption(caption = md("Table caption"))
any suggestions?
@cderv @rich_i
thanks in advance