-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Supply google slide notes to fig.alt #119
Comments
Regarding the flow, if the image does NOT have Google Slide notes, should we put something like "Alt text is empty"? |
@cansavvy and I tried setting the current code chunk inside
and failed. To ask for help, I left a comment on a knitr issue: yihui/knitr#1798 (comment) and asked on Posit community: https://community.rstudio.com/t/setting-fig-alt-using-knitr-knit-hooks/174159 |
What about |
@sckott Could you elaborate more? I can't figure out how this relates to the |
If no fig.alt is specified in the options, we want ottrpal to try to grab captions from the google slide notes and use that for the fig.alt option.
This will involve making some tweaks to the
include_slide()
function so that it checks forfig.alt
spec and if none is given usesget_object_id_notes()
function to get the notes and supply those as the fig.alt spec.Happy to pair code on this where needed @howardbaek
The text was updated successfully, but these errors were encountered: