Pandoc's markdown emphasis format (e.g. *FOO*) is added to character string.
pandoc.emphasis.return(x)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.
John MacFarlane (2012): _Pandoc User's Guide_. https://johnmacfarlane.net/pandoc/README.html
pandoc.emphasis('FOO')
#> *FOO*
pandoc.emphasis(c('FOO', '*FOO*'))
#> *FOO* *FOO*
pandoc.emphasis.return('FOO')
#> [1] "*FOO*"