max-heller / mdbook-pandoc

A mdbook backend powered by Pandoc.
Apache License 2.0
97 stars 7 forks source link

fix: replace unresolvable remote images with their descriptions #105

Closed max-heller closed 2 months ago

max-heller commented 2 months ago

Mirrors 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.

Closes #96