Open cderv opened 11 months ago
https://github.com/yihui/knitr/issues/2290#issuecomment-1729758213
knitr::opts_hooks$set(fig.cap = function(options) { if (is.null(options$fig.alt)) options$fig.alt = options$fig.cap options$fig.alt = xfun::strip_html(options$fig.alt) options })
https://github.com/yihui/knitr/issues/2290#issuecomment-1729758213