datascijedi / website

https://datascijedi.org
Creative Commons Attribution Share Alike 4.0 International
5 stars 2 forks source link

alt text isn't working #102

Closed hardin47 closed 1 year ago

hardin47 commented 1 year ago

Hi, @maryryan. Thanks for the work you've done to get the work out about JEDI at JSM. Your handout is fantastic! Unfortunately, the alt text doesn't seem to be working. (Maybe it's just my browser. Does it work on your browser?)

image

I don't know how to fix the syntax you used, but when I want alt text on a figure using quarto, I do the following. It might work for you?

::: {.g-col-4}
    ```{r fig.cap = "write a caption here", fig.alt = "alt text goes here "}
    knitr::include_graphics("../imagefolder/imagename.jpg")

:::

maryryan commented 1 year ago

Hi @hardin47 - thanks for the heads up. I accidentally had some double quotation marks in the alt-text that was messing with the formatting. Should be fixed now!