Skip to content

quarto::render() ignores the metadata_file argument #225

@ColinFay

Description

@ColinFay

I have this small test1.qmd

---
title: 'test1'
---

## Quarto

Quarto enables you to weave together content and executable code into a finished presentation. To learn more about Quarto presentations see <https://quarto.org/docs/presentations/>.

and a yaml called 'test.yaml':

format: docx

If I pass this yaml to metadata_file, it's ignored :

> quarto::quarto_render("test1.qmd", metadata_file = "test.yaml")
pandoc 
  to: html
  output-file: test1.html
  standalone: true
  section-divs: true
  html-math-method: mathjax
  wrap: none
  default-image-extension: png
  
metadata
  document-css: false
  link-citations: true
  date-format: long
  lang: en
  title: test1
  
Output created: test1.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions