quarto-dev / quarto-dev/quarto-cli
Error parsing `---` without whitespace
Open
@cscheid is already working on this.
Since Oct 24, 2022.
enhancement
lint
- Dominant language
- JavaScript
- Stars
- 6k
- Forks
- 458
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 41
Description
See complete thread for details, but basically markdown like
---
## Test 123
creates problems for us in yaml.ts export function readYamlFromMarkdown()
Discussed in https://github.com/quarto-dev/quarto-cli/discussions/3001
Originally posted by samarzayan October 24, 2022
I am getting the following error exactly at the last :.
YAMLError: end of the stream or a document separator is expected at line 7, column 3:
when I use every callout block, for example:
:::{.callout-note}
Sample note.
:::
I checked online for about 2 hours but had no luck. Someone, please help.
The syntax is correct as per the Quarto docs.
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.