When processing images, a pattern like this is ignored by the parser so that the kramdown to pandoc conversion misses it:
tmp <- withr::local_tempfile()
writeLines(c("", "{.image-with-shadow width='50%'}"), tmp)
pegboard::Episode$new(tmp)$use_sandpaper()$show()
#> ---
#> ~
#> ---
#>
#> {alt='test image'}
#> {.image-with-shadow width='50%'}
Created on 2023-04-18 with reprex v2.0.2
When processing images, a pattern like this is ignored by the parser so that the kramdown to pandoc conversion misses it:
Created on 2023-04-18 with reprex v2.0.2