quarto-dev / quarto-dev/quarto-cli
Lint: warn when knitr classes are used (was: use plot as blog post image)
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 6k
- Forks
- 458
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 41
Description
Hi there,
I am using (quarto 1.4.550), and my problem is that #| class-output: preview-image seems to be ignored. Please find a working example at https://github.com/produnis/testing and have a look at the "Welcome" post. Instead of the first Anscombe plot, the Datasaurus was ment to be used as the preview pic....
Greetings, Joe
Originally posted by @produnis in https://github.com/quarto-dev/quarto-cli/issues/2324#issuecomment-1955082372
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.
Research direction
Reproduce the report with Quarto 1.4.550 using the linked testing repository, then inspect posts/welcome/index.qmd and the Welcome post example. Confirm how #| class-output: preview-image is handled and whether the expected Datasaurus image is selected instead of the first Anscombe plot.
Written by the indexing model from the issue text.
Assessment
- Domain
- content
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100