I am formatting a gt table to add a colour legend in the bottom of the table with
tab_source_note(html('<pre style="display: inline;"><span style="background-color: red;"
> </span> = Up</pre> <pre><span style="background-color: #FFEFA3;"
> </span> = Maintain</pre> <pre><span style="background-color: #A65176;"
> </span> = Down</pre>')')
I get the caption to appear, but it is in a column, and I would like it to be in a single line of text.