body_bookmark {officer} | R Documentation |
Add a bookmark at the cursor location. The bookmark is added on the first run of text in the current paragraph.
body_bookmark(x, id)
x |
an rdocx object |
id |
bookmark name |
# cursor_bookmark ---- library(magrittr) doc <- read_docx() %>% body_add_par("centered text", style = "centered") %>% body_bookmark("text_to_replace")