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

pandoc.strikeout.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

Examples

pandoc.strikeout('FOO')
#> ~~FOO~~
pandoc.strikeout(c('FOO', '~~FOO~~'))
#> ~~FOO~~ ~~FOO~~
pandoc.strikeout.return('FOO')
#> [1] "~~FOO~~"