marp-team / marp-cli

A CLI interface for Marp and Marpit based converters
MIT License
1.85k stars 105 forks source link

Greek characters in path #562

Closed nkpap closed 9 months ago

nkpap commented 9 months ago

When using the marp command line, images located in path containing Greek chars are not included in the pdf output.

BR Nikos

yhatt commented 9 months ago

Aren't you missing to add --allow-local-files option? Due to the security reason, PDF conversion cannot use local files by default. https://github.com/marp-team/marp-cli#security-about-local-files

nkpap commented 9 months ago

Thank you for responding. Yes, I am using the option. My full command is marp --html --allow-local-files --pdf-outlines 1-architectures.md -o 1-architectures.pdf. However I noticed that the problem comes when I run the command on a secondary disk and it is not due to the Greek chars. The path contains a soft link of the second disk. I believe this is the problem. Thank you N.-

yhatt commented 9 months ago

OK. Closed as invalid.