quarto-dev / quarto-dev/quarto-cli
Identify and process revealjs metadata from command line option
Open
@cderv is already working on this.
Since Sep 16, 2024.
enhancement
metadata
revealjs
- Dominant language
- JavaScript
- Stars
- 6k
- Forks
- 458
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 41
Description
Let's say you have this YAML header
format:
revealjs:
show-notes: true
It seems you can't do
quarto render index.qmd -M show-notes:true
and you need to do
quarto render index.qmd -M showNotes:true
This is because in former case the metadata will be
( "show-notes" , MetaBool True )
while Pandoc is expecting showNotes variable for the template.
This is happening in this specific case because metadata is passed while not associated to revealjs format.
When it is, we do provess the metadata in typescript
We should improve this.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.