Skip to content

Feature Request: Allow modifying the caption after creating a gt() #1048

@billdenney

Description

@billdenney

Prework

Proposal

tab_caption(data, caption) to allow modifying a caption on an already-created gt() object.

data %>%
  gt(caption="old caption") %>%
  tab_caption("my caption here")

As an addition, it would be helpful to also be able to extract the caption information. This may be too flexible, but I would find it helpful to use tab_caption(my_gt) to get the current caption.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions