check_hints: Create check-fields and check-boxes for 'rmarkdown'

Description Usage Arguments Value Author(s) Examples

View source: R/check_hints.R

Description

Create check-fields and check-boxes for 'rmarkdown'

Usage

1
2
3
4
5
6
7
8
check_hints(
  hint_text,
  hint_title = "Click here to see/close the hint",
  hint_title_prefix = "",
  hint_title_suffix = "",
  list_title = "Click here to see/close the list of hints",
  hint_id
)

Arguments

hint_text

hint paragraph texts; can contain markdown

hint_title

hint title texts; can contain markdown

hint_title_prefix

string that added to each hint_title to the left side

hint_title_suffix

string that added to each hint_title to the right side

list_title

unique identidier for each hint

hint_id

unique identidier for each hint

Value

returns the html and javascript code

Author(s)

George Moroz <agricolamz@gmail.com>

Examples

1
2
3
# ```{r, results='asis', echo=FALSE}
# check_hints(1:4)
# ```

agricolamz/checkdown documentation built on Nov. 12, 2020, 4:43 p.m.