Description Usage Arguments Value Examples
Uses 'ggtext::geom_textbox()' and 'ggplot2::theme_void()' to generate a simple quote. Quotes can be posted to social media or within rmarkdown.
1 2 3 4 5 6 | instaquote(
text,
bg_color = "#56B4E9",
text_color = "white",
caption = "gospelanalysis.com"
)
|
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. |
ggplot2 object
1 2 | txt <- insta_text("hello world")
instaquote(txt)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.