Skip to content
This repository was archived by the owner on Sep 16, 2019. It is now read-only.
This repository was archived by the owner on Sep 16, 2019. It is now read-only.

missing figures when running marp with --pdf #242

@tosaba

Description

@tosaba

➡️  This issue is related to the new version (https://github.com/marp-team/marp-cli), but due to the lack of the issues option, I'm posting it here ...

I have been testing the marp-cli and also in that early stage it's already a very nice and promising tool.
There is one thing I came across when I run the client version with PDF option., i.e.

marp test.md --pdf 

Local figures (inline or background), which are linked with absolute or relative paths, are not shown in the PDF.

---
# New slide title

![](figure.png)

![bg](figure.png)

Inserting figures from the web works well, e.g.

---

# 1st slide with inline image

![](https://c2.staticflickr.com/2/1688/24269660074_b675f702d7_h.jpg)

---

# 2nd slide with background image

![bg](https://c2.staticflickr.com/2/1688/24269660074_b675f702d7_h.jpg)

---

In any case, the HTML output is just fine, no matter if local figures or online figures are being used.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    Marp Next ◢◢Issues for the new version (Marp Next by @marp-team)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions