This function takes header information and a listdown object and writes to a specified file.

ld_write_file(rmd_header, ld, file_name)

Arguments

rmd_header

either a character or listdown_header with R Markdown header information.

ld

the listdown object that provides information on how a presentation object should be displayed in the output.

file_name

the output file to write to.