The longer I think about it the more I consider it a bug. Keeping links to local picture files is in contradiction to *self-contained*.

I will file a bug report.

Regards,
Bernhard Donaubauer

fiddlosopher schrieb am Montag, 24. Oktober 2022 um 19:28:11 UTC+2:
That's interesting, I hadn't thought about links to external images with --self-contained.
I'm not thinking of a good solution, but maybe someone else will have ideas?

> On Oct 24, 2022, at 5:56 AM, Bernhard Donaubauer <bdon...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
> Hello,
>
> I'm about to write some documentation with markdown and pandoc.
>
> I often use this construct to insert a picture:
>
> [![](bilder/600/small.jpg)](bilder/large.jpg)
>
> This displays the small picture in the HTML document and loads the large picture if one clicks on the small one.
>
> This works so far but is unfortunately incompatible with the self-contained feature.
>
> The small picture gets base64 embedded but the large picture stays a link to the local file.
>
> Is there a way to embed the large picture too or exists a completely different solution to get this done?
>
> Regards
> Bernhard
>
> --
> You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discus...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/d57d8fc0-f4da-44c8-a4e6-bac4dbd249dbn%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/5a016172-91df-4b07-96c2-ffa0e4081402n%40googlegroups.com.