file_extension {chronicle}R Documentation

Parse the file extension for each R Markdown output format

Description

Currently supports:

Usage

file_extension(file_type)

Arguments

file_type

R Markdown output formats.

Details

* rmdformats * prettydoc * bookdown * ioslides * tufte_html * xaringan * rolldown * flexdashboard * slidy_presentation * html_document * html_notebook * pagedown

Value

The file extension corresponding to the provided formats (".html", "pdf", ".md", ".docx", ".pptx")

Examples

file_extension(c('prettydoc', 'word_document', 'tufte_handout'))

[Package chronicle version 0.3 Index]