This function takes a gt
table object and changes font-type, borders etc
to align with APA style.
gt_apa_style(gt_table, fmt_labels_md = TRUE, row_group_background = "#E0E0E0")
Created by Philip Parker, https://gist.github.com/pdparker/1b61b6d36d09cb295bf286a931990159. Slightly expanded here.