# NOT RUN {
library(magrittr)
doc <- read_docx() %>%
body_add_par("Placeholder one") %>%
body_add_par("Placeholder two")
# Show text chunk at cursor
docx_show_chunk(doc) # Output is 'Placeholder two'
# }
Run the code above in your browser using DataLab