powered by
Add a bookmark at the cursor location.
body_bookmark(x, id)
an rdocx object
bookmark name
# cursor_bookmark ---- library(magrittr) doc <- read_docx() %>% body_add_par("centered text", style = "centered") %>% body_bookmark("text_to_replace")
Run the code above in your browser using DataLab