check_hint {checkdown}R Documentation

Create hint for 'rmarkdown'

Description

Create hint for 'rmarkdown'

Usage

check_hint(
  hint_text,
  hint_title = "Click here to see/close the hint",
  type = c("onclick", "onmouseover", "ondblclick"),
  hint_id = sample(1e+05:1, 1)
)

Arguments

hint_text

hint paragraph text; can contain markdown

hint_title

click paragraph text; can contain markdown

type

character that describes behavior of the hint. Possible values are: onclick, onmouseover, ondblclick

hint_id

unique identifier of the question

Value

returns the html tags and javascript code

Author(s)

George Moroz <agricolamz@gmail.com>

Examples


check_hint("You can use argument `echo=FALSE`!")


[Package checkdown version 0.0.12 Index]