get_reference_value function

Get the document being used as a template

Get the document being used as a template

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)

Arguments

  • format: document format, one of 'pptx', 'docx' or 'html'

Returns

a name file

See Also

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()