You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Lint: warn when knitr classes are used (was: use plot as blog post image) #8804
Activity
dragonstyle commentedon Feb 21, 2024
The issue is that your code cell should be using
classes- e.g.:HTH!
cderv commentedon Feb 21, 2024
As I see you are using
#| class-output: preview-image, just a mention that this is the knitr options for text output block: https://yihui.org/knitr/options/#text-outputDifferent from
classeswhich applies on cell container more globally (https://quarto.org/docs/reference/cells/cells-knitr.html#attributes)produnis commentedon Feb 21, 2024
thanks for your answer....
so, the problem was 30cm next to the monitor... :/
using
#| classes: preview-imageinstead of#| class-output: preview-imageit works!dragonstyle commentedon Feb 21, 2024
It was super helpful that you included the source file - made it easy to see the problem rather than try to stumble through. Thank you!!!
[-]use plot as blog post image[/-][+]Lint: warn when knitr classes are used (was: use plot as blog post image)[/+]cscheid commentedon Feb 21, 2024
I'm going to reopen this and file it for our future linter.