Markdown slides allow you to add rich text tiles to your Crunch Dashboards.
markdownSlideImage()
is a helper for embedding the data of an image from
your computer into the slide.
slideMarkdown(x)
slideMarkdown(x) <- value
newMarkdownSlide(deck, ..., title = "", subtitle = "")
markdownSlideImage(file)
# S4 method for CrunchMarkdownSlide
slideMarkdown(x)
# S4 method for CrunchMarkdownSlide,character
slideMarkdown(x) <- value
A CrunchMarkdownSlide
A string to replace the markdown content with
A Crunch Deck
Unnamed arguments are text that are combined to create the markdown body named arguments are passed to the API.
The slide's title
The slide's subtitle
File path to an image
A MarkdownCrunchSlide
newSlide()
for creating an analysis slide
if (FALSE) {
newMarkdownSlide(deck, "We contacted 1,000 people by telephone", title = "Methodology")
newMarkdownSlide(
deck,
"The 3 most **popular** vegetables are:\n",
"- Fennel\n",
"- Carrots\n",
"- Avocado\n",
title = "Key findings"
)
newMarkdownSlide(
deck,
"crunch.io: ",
markdownSlideImage("logo.png")
)
}