Get filename of the document being used as a template in an R Markdown document rendered as HTML, PowerPoint presentation or Word document. It requires packages rmarkdown >= 1.10.14 and knitr.
get_reference_value(format = NULL)a name file
document format, one of 'pptx', 'docx' or 'html'
Other functions for officer extensions:
docx_reference_img(),
fortify_location(),
opts_current_table(),
shape_properties_tags(),
str_encode_to_rtf(),
to_html(),
to_pml(),
to_rtf(),
to_wml(),
wml_link_images()