Usage
formr_render_commonmark(text)
Arguments
- text
that will be passed to knitr
Value
A length-1 character string of HTML rendered from CommonMark.
Examples
formr_render_commonmark("There are only `r sample(2:3, 1)` types of people.")
#> [1] "<p>There are only 2 types of people.</p>\n"