library(tidyverse) library(rmdWidgets) knitr::opts_chunk$set(echo = F)
rmd_checkbox(c("Yes", "No", "DK"), 0, inline = F, format = "html")
rmd_checkbox(c("Yes", "No", "DK"), 0, label = "", format = "html")
rmd_checkbox(c("Yes", "No", "DK"), 1, label = "Label", format = "html")
rmd_checkbox(c("Yes", "No", "DK"), c(2, 3), label = "Label not inline", label_inline = F, format = "html")
rmd_checkbox(c("Yes", "No", "DK"), c(2, 3), label = "Choices not inline", inline = F, format = "html")
rmd_textbox(text = "aaaaaaaaaa", backcolor = "white", textcolor = "red", format = "html")
rmd_textbox(text = "aaaaaaaa\nbbbbbbbbbbbbbbbbb\nccccc", backcolor = "gray", textcolor = "white", format = "html", type = "info")
rmd_textbox(text = "aaaaaaaaaaaaaaaaaaaaaaaaaaa", backcolor = "yellow", textcolor = "black", format = "html", type = "warning")
rmd_textbox(text = "aaaaaaaaaaaaaaaaaaaaa\n\naaaaaa", backcolor = "orange", textcolor = "white", format = "html", type = "warning")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.