Open vincent-ferotin opened 4 years ago
I think the image replacement regexp was never made to support image references.
As I said in your other issue, If you're willing to put up a PR to fix it, I'll gladly merge it but I don't have time to take a look at it myself anytime soon.
When referencing an image, i.e. not inlining it, with
![Alt text][img-id]
and then[img-id]: /img/url
(see reference), desired image is not always well inserted in output medium -- depending on medium/backslide
command:bs serve
(browser)bs export
(dist/HTML)bs pdf
(pdf/PDF)See #64 for initial prospection and a demonstrating repository: https://github.com/vincent-ferotin/backslide-imageinpdf