Learn R Programming

pander (version 0.6.5)

pandoc.emphasis.return: Emphasis

Description

Pandoc's markdown emphasis format (e.g. *FOO*) is added to character string.

Usage

pandoc.emphasis.return(x)

Arguments

x

character vector

Value

By default this function outputs (see: cat) the result. If you would want to catch the result instead, then call the function ending in .return.

References

John MacFarlane (2012): _Pandoc User's Guide_. https://johnmacfarlane.net/pandoc/README.html

See Also

pandoc.strong pandoc.strikeout pandoc.verbatim

Examples

Run this code
# NOT RUN {
pandoc.emphasis('FOO')
pandoc.emphasis(c('FOO', '*FOO*'))
pandoc.emphasis.return('FOO')
# }

Run the code above in your browser using DataLab