fileresources: Retrieve file paths to package resources

fileresourcesR Documentation

Retrieve file paths to package resources

Description

Retrieve file paths to package resources

Usage

file_reference_docx()

file_syntax_definition()

file_solarized_light_theme()

file_syntax_test()

file_code_block()

Value

file_reference_docx() returns the path to the reference docx file used by this package. file_syntax_definition() returns the path to the XML file specifying how pandoc should highlight the code in the document. file_solarized_light_theme() returns the path to the .theme file used by this package. file_syntax_test() returns the path to the RMarkdown file used by demo_document(). file_code_block() returns a minimal .Rmd file with a single code block for small illustrations.

References

the reference docx is a modified version of the own built into pandoc by John MacFarlane. The syntax definition is a modified version of the one by the KDE developers. I used the code here: https://github.com/KDE/syntax-highlighting/blob/master/data/syntax/r.xml


tjmahr/solarizeddocx documentation built on May 4, 2022, 3:35 p.m.