Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lose img via marp command #96

Closed
hongvvu opened this issue May 15, 2019 · 1 comment
Closed

Lose img via marp command #96

hongvvu opened this issue May 15, 2019 · 1 comment

Comments

@hongvvu
Copy link

hongvvu commented May 15, 2019

using following command

npx @marp-team/marp-cli slides.md -o slides.pdf

image could be successfully viewed in VS code with following syntax
img

after execute the command above, the pdf shows a img thumbnail instead of the image itself.

like this

image

but once you upload you image to some web host, it works, seems the problem here is Marp Cli doesn't support local images

@yhatt
Copy link
Member

yhatt commented May 15, 2019

Please read this section of README.md. For security reason (#10), local file access is disabled by default. You have to specify --allow-local-files option explicitly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants