replace_placeholder | R Documentation |
Replace placeholder strings in docx document
replace_placeholder( doc, placeholder_text = "PLACEHOLDER_TAB", replacement_text = "\t" )
doc |
an rdocx object |
placeholder_text |
Character with the placeholder to be replaced, defaults to "PLACEHOLDER_TAB" |
replacement_text |
Character with replacement text, defaults to "\t" |
Side effects
## Not run: replace_placeholder( path = "test.docx", new_path = "test_replaced.docx" ) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.