Pandoc's markdown strikeout format (e.g. ~~FOO~~) is added to character string.
pandoc.strikeout.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.strikeout('FOO')
#> ~~FOO~~
pandoc.strikeout(c('FOO', '~~FOO~~'))
#> ~~FOO~~ ~~FOO~~
pandoc.strikeout.return('FOO')
#> [1] "~~FOO~~"