Uses `ggtext::geom_textbox()` and `ggplot2::theme_void()` to generate a simple quote. Quotes can be posted to social media or within rmarkdown.

instaquote(
  text,
  bg_color = "#56B4E9",
  text_color = "white",
  caption = "gospelanalysis.com"
)

Arguments

text

Text you want to pass in. use generate_text().

bg_color

Plot background color, default: ggthemes::palette_pander(n = 1)

text_color

Color of text. default: white.

Value

ggplot2 object

Examples

txt <- insta_text("hello world") instaquote(txt)