Mirror Pandoc's behavior of replacing remote images that can't be loaded with their description. We only resolve images that Pandoc can't handle, so if we fail to resolve it, we want to make sure the URL doesn't get to Pandoc, which would try and fail to process it.
Mirror Pandoc's behavior of replacing remote images that can't be loaded with their description. We only resolve images that Pandoc can't handle, so if we fail to resolve it, we want to make sure the URL doesn't get to Pandoc, which would try and fail to process it.
This should be implemented here: https://github.com/max-heller/mdbook-pandoc/blob/aa239faad895dbdf2933aef79f936282a91dfe63/src/preprocess.rs#L226-L240
Sample Pandoc log for inspiration:
Identified in https://github.com/google/comprehensive-rust/issues/1911#issuecomment-2167612377