purge.comments: Purge Comments
Description
Remove comments from provided character vector.Usage
purge.comments(x,
comment.open = get.tags("comment.open"),
comment.close = get.tags("comment.close"))
Arguments
x
a character string to remove comments from
comment.open
a string containing opening tag
comment.close
a string containing closing tag
Value
- a string with removed pandoc comments
Details
Default parameters are read from options
:
- 'comment.open',
- 'comment.close'.