This function determines the Certe theme colour currently used in a markdown document (Quarto or R Markdown), based on the YAML header.
current_markdown_colour(default = "certeblauw")It returns a Certe colour if one is set in the YAML header, and checks in this order:
colour-main
colour-titlepage-titlebanner
colour-titlepage-full
colour-verticalbars
colour-heading1
If none is set, it returns the default setting, which is "certeblauw".
This function is the default to set the theme for tbl_flextable().
It can be also be used for plot2():