opencasestudies / OCS_Guide

Guide about how to use open case studies in the classroom.
https://www.opencasestudies.org/OCS_Guide
Creative Commons Attribution 4.0 International
2 stars 2 forks source link

removing long alt text and adding outwidth to all images #165

Closed carriewright11 closed 2 years ago

carriewright11 commented 2 years ago

to try to fix the error: Error in find_figure_div(x) : length(start) == length(end) is not TRUE Calls: ... replace_single_html -> replace_div_data -> find_figure_div -> stopifnot

However, may need to think about where the images are located the function at the top of each slide does this:

function (verbose = FALSE) { fp <- knitr::fig_path() fp <- dirname(fp) fp <- paste0("resources/images/", fp, "/") if (verbose) { message(paste0("figpath is ", fp)) } knitr::opts_chunk$set(fig.path = fp) }

carriewright11 commented 2 years ago

don't have them as slides... but I think that should be ok...

github-actions[bot] commented 2 years ago

No spelling errors! :tada: Comment updated at 2022-03-25 with changes from 26a73ca71cd5946b3fd3714bde9ffb61f03e0e04