You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've received many feedbacks about rendering the local image file, "Image does not see on rendered PDF". In most cases, a cause is lacking --allow-local-files option.
It's good to tell that it might lack --allow-local-files option if detected blocking access to the local file. Of course, we should keep in mind that it's just a hint and must keep not to recommend.
How to detect
We don't yet try for detection, but I wonder if Chrome outputs any warnings with its reason when blocked loading image. We should listen to Chrome error through Puppeteer, and detect local file access.
The text was updated successfully, but these errors were encountered:
I've received many feedbacks about rendering the local image file, "Image does not see on rendered PDF". In most cases, a cause is lacking
--allow-local-files
option.Accessing the local content is often targeted as a vulnerability, so the user must express intention by the option. However, Marp CLI has not explained this while converting.
It's good to tell that it might lack
--allow-local-files
option if detected blocking access to the local file. Of course, we should keep in mind that it's just a hint and must keep not to recommend.How to detect
We don't yet try for detection, but I wonder if Chrome outputs any warnings with its reason when blocked loading image. We should listen to Chrome error through Puppeteer, and detect local file access.
The text was updated successfully, but these errors were encountered: