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 would like the plugin to also parse the caption of an image, like when using org-html-export-as-html, so that the relative path for the image folder is ../images for the source as well as for the output files. Now when I use the syntax [[../images/file.png]] and export the function org-html-export-as-html then img src tag contains the correct path:
(this just replaces the the src=" with src="../). However now when building with Nikola I get a double ../../ in the image path.
I guess my question is, why the ../ is removed when building with Nikola?
If this would work, then I guess also the file and img-url links types here could just be removed, and the info replaced with the correct info, i.e. just use a relative path instead of the nikola style path [[/images/file.png]] which gets resolved as an absolute path. I am happy to take care of that, as soon as I find out why the ../ is getting removed by the Nikola build.
The text was updated successfully, but these errors were encountered:
I would like the plugin to also parse the caption of an image, like when using
org-html-export-as-html
, so that the relative path for the image folder is../images
for the source as well as for the output files. Now when I use the syntax [[../images/file.png]] and export the functionorg-html-export-as-html
thenimg src
tag contains the correct path:However when building with Nikola then for some reason the
../
in the image path is removed:Now from the first answer here I tried to add the
../
back using:(this just replaces the the
src="
withsrc="../
). However now when building with Nikola I get a double../../
in the image path.I guess my question is, why the
../
is removed when building with Nikola?If this would work, then I guess also the
file
andimg-url
links types here could just be removed, and the info replaced with the correct info, i.e. just use a relative path instead of the nikola style path[[/images/file.png]]
which gets resolved as an absolute path. I am happy to take care of that, as soon as I find out why the../
is getting removed by the Nikola build.The text was updated successfully, but these errors were encountered: