quarto-dev / quarto-dev/quarto-cli
difficult error with typo in var
Open
@cscheid is already working on this.
Since Feb 17, 2024.
bug
- Dominant language
- JavaScript
- Stars
- 6k
- Forks
- 458
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 41
Description
Describe your proposed improvement and the problem it solves.
I happened to have a typo in my var {{< var country>}} (no space between y and >)
This unfortunately causes a cryptical error:
Error running Lua:
/opt/quarto/share/pandoc/datadir/lpegshortcode.lua:112: attempt to concatenate a nil value
stack traceback:
[C]: in function 'lpeg.match'
/opt/quarto/share/pandoc/datadir/readqmd.lua:129: in function 'readqmd.readqmd'
/opt/quarto/share/filters/qmd-reader.lua:13: in function 'Reader'
i could only locate by removing paragraph by paragraph from the file.
Is it somehow possible to list the line-number of the error?
Describe alternatives you've considered.
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.