body_bookmark | 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 ----
doc <- read_docx()
doc <- body_add_par(doc, "centered text", style = "centered")
doc <- body_bookmark(doc, "text_to_replace")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.