Create og:image:alt from fig-alt #10857
Closed
leofontenelle
started this conversation in
Feature Requests
Replies: 2 comments
-
Agreed! This is definitely something we should do. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Tracking on #10864 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
I missed this feature when I was working on my Quarto blog. Documentation says the OpenGraph preview image can be picked from the page content by adding the
preview-image
to an image. It works!It would be even better if this feature also reused the image's
fig-alt
as theog:image:alt
, so that I don't have to copy and paste the alternative text into the YAML header for every single blog post.I guess this is not exactly a bug report, but I'll add steps to reproduce:
The
_quarto.yml
:The
about.qmd
:The resulting HTML file:
I guess I wanted was the same but with an added
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions