quarto-dev / quarto-dev/quarto-cli
typescript shortcodes need to be in a line by themselves
Open
@cscheid is already working on this.
Since Aug 9, 2022.
enhancement
includes
lint
shortcodes
- Dominant language
- JavaScript
- Stars
- 6k
- Forks
- 458
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 41
Description
Discussed in https://github.com/quarto-dev/quarto-cli/discussions/1766
Originally posted by ialbert August 9, 2022
The include tag seems to work only when preceded by whitespace. Example code:
Including on a new line works:
{{< include _date.md >}}
this also works:
{{< include _date.md >}}
This does not work: {{< include _date.md >}}
the rendered HTML output is:
Including on a new line works:
May 26, 2022
this also works:
May 26, 2022
This does not work:
is that by design? Thanks.
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.