pub type ImageLoader<'a> = &'a dyn Fn(&str) -> Option<Vec<u8>>;Expand description
Callback that, given the path an image in a Markdown document
names, returns the image bytes. Backs convert --resource-path
and the Python / WASM image-loader binding; None falls back to the
image’s alt text.