md_bold: Markdown bold emphasis

View source: R/md-inlines.R

md_boldR Documentation

Markdown bold emphasis

Description

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.

Usage

md_bold(x)

Arguments

x

The text to be emphasized in bold.

Details

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.

Value

A glue vector of length equal to x.

See Also

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()

Examples

md_bold("Example")
md_bold(state.name)

gluedown documentation built on May 29, 2024, 11:42 a.m.