Read from the Clipboard, remove all [[
, ]]
and #tag
, which is widely used in note taking tools like
Roam Research and write to Clipboard again.
Examples
if (FALSE) {
Sys.setenv(CLIPR_ALLOW=TRUE)
clipr::write_clip("A [[nice]] day. #happy", allow_non_interactive = TRUE)
clip_remove_tags()
clipr::read_clip()
}