I’ve tried the following syntax:
[[folder/figure.svg]]
along with org-export-as-html.
This apparently does not work – just adds a reference … in the html file.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I had to test this a couple times to clarify exactly what the issue appeared to be. The image exports successfully when I use the following link:
However it fails with:
I suspect it is that Org has to find where on the path the image is, the
./tells it to look from current location, while~/can be properly expanded by the shell to give the current directory.If you prefix
./to your images they should export correctly.