You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Try using the as_raw_html() function at the end of the gt() call before embedding the table into the email message body. The reason that works is because email clients will sometimes strip out CSS rules but if the CSS styles are inlined into the HTML tags, then you'll see tables with all formatting preserved in pretty much all email clients.
You could also expand your reprex a bit to show us how you're generating the email message.
I did try the as_raw_html() as well, and the result was slightly better - header column retains CSS styling, but body still got stripped (refer to below).
As per subject; screenshots attached.
Mobile (as expected)
Microsoft Outlook (style stripped)
Reprex
Package version
Created on 2020-04-10 by the reprex package (v0.3.0)
The text was updated successfully, but these errors were encountered: