### Discussed in https://github.com/quarto-dev/quarto-cli/discussions/2319

<div type='discussions-op-text'>

<sup>Originally posted by **11rchitwood** September  6, 2022</sup>
Let's say I have a post whose first code chunk is:

```r
plot(cars)
```

How can I make this be the preview image for the post?</div>

Being able to refer to easily refer to resources generated by the execution engines in our code is a good idea (I can imagine a similar feature being useful for the output of a `dot` or `mermaid` cell, or some arbitrary user shortcode)
cscheid
2022-09-06T17:48:51Z
cscheid
enhancement
v1.4
open
Use plot as blog post image
https://github.com/quarto-dev/quarto-cli/issues/2324