Take a character vector and wrap each element in double asterisks to create a
glue vector of bold emphasis text. This inline is rendered as the <stong>
HTML tag.
md_bold(x)
The text to be emphasized in bold.
A glue
vector of length equal to x
.
A double **
or __
can open or close emphasis... Emphasis begins with a
delimiter that can open emphasis and ends with a delimiter that can close
emphasis, and that uses the same character (__
or **
) as the opening
delimiter.
Other inline functions:
md_autolink()
,
md_code()
,
md_convert()
,
md_disallow()
,
md_escape()
,
md_hardline()
,
md_image()
,
md_issue()
,
md_italic()
,
md_link()
,
md_softline()
,
md_strike()
,
md_text()
# NOT RUN {
md_bold("Example")
md_bold(state.name)
# }
Run the code above in your browser using DataLab