Closed mrcaseb closed 5 months ago
I forgot to add this uses xml2 to extract styling information from raw gt html.
xml2 is already listed in Suggests but I think it's a strong reverse dependency anyway.
There is also room for improvements here. For example high level title and table level subtitles.
This is a more or less special feature I see people asking for in the nflverse discord. The main idea is to allow a high level tab header in the two column layout. The problem here is formatting. We can either ask the user to set all the html styles themselves or try to help via gt. So in this PR, the function extracts tab header information (including all of the styling) from the header of one of the two tables. This allows the user to do all of the styling through gt.
Example
Current implementation
With Header