quarto-dev / quarto-dev/quarto-cli
Add error message when `{{< include >}}` is used in invalid position
Open
@cscheid is already working on this.
Since Feb 9, 2023.
enhancement
includes
lint
shortcodes
- Dominant language
- JavaScript
- Stars
- 6k
- Forks
- 458
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 41
Description
Bug description
I would like to use "include" to generate a list with info I will use across the document.
The rendering, however, is an empty bullet.
Example:
Assume the file warehousing_course_ilo_explain.qmd has the content ILO1.
Then, the following:
Upon finishing the MSc Warehousing course, students will be able to:
- {{< include warehousing_course_ilo_explain.qmd >}}
{{< include warehousing_course_ilo_explain.qmd >}}
Results:
Upon finishing the MSc Warehousing course, students will be able to:
ILO1
The bug happens both in Windows and Linux (WSL) + VS Code.
Checklist
- Please include a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue.
- Please format your issue so it is easier for us to read the bug report.
- Please document the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
- Please document the operating system you're running. If on Linux, please provide the specific distribution.
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.