quarto-dev / quarto-dev/quarto-cli
Quarto front matter expects ending with --- while pandoc allows ...
Open
@cscheid is already working on this.
Since Sep 4, 2023.
enhancement
- Dominant language
- JavaScript
- Stars
- 6k
- Forks
- 458
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 41
Description
I'm asking if Quarto is supposed to allow ending the frontmatter with ....
(Because it makes it possible for me to modify the frontmatter with standard yaml libraries.)
Your answer above is "Yes", because Pandoc allows this. Great :-)
Unfortunately Quarto throws an error. Should I file a bug report?
Expected front matter to end with '---'
Error: Expected front matter to end with '---'
at validateDocumentFromSource (file:///opt/quarto/bin/quarto.js:84346:19)
at async renderFiles (file:///opt/quarto/bin/quarto.js:86587:55)
at async render (file:///opt/quarto/bin/quarto.js:90681:21)
at async renderForPreview (file:///opt/quarto/bin/quarto.js:102415:26)
at async render (file:///opt/quarto/bin/quarto.js:102310:20)
at async Object.promise (file:///opt/quarto/bin/quarto.js:102466:33)
Originally posted by @th0ger in https://github.com/quarto-dev/quarto-cli/discussions/6687#discussioncomment-6896517
cc @cscheid
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.