Add Formatting Arguments for YAML Header

format_quarto(format = NULL)

Arguments

format

Rendering format (pdf, html, or docx).

Value

This function returns part of a quarto YAML header involved in formatting the document during rendering.

Examples

format_quarto(format = "pdf")
#> [1] "format: \n  pdf: \n    documentclass: scrartcl\n    number-sections: true\n    template-partials:\n      - 'support_files/before-body.tex'\n      - 'support_files/_titlepage.tex'\n    include-in-header:\n      - 'support_files/in-header.tex'\n    toc: true\n    lof: true\n    lot: true\n    titlepage-geometry: \n      - top=2in\n      - bottom=1in\n      - right=1in\n      - left=1in\n"