Re: Chrome Asciidoctor.js plugin environment variables

Posted by mojavelinux on
URL: https://discuss.asciidoctor.org/include-and-imagesdir-in-different-folders-tp8154p8157.html



The browser app should have in its parameters the $HOME environment variable ? I am not sure to understand the user-home attribute is hard-coded as ".", it makes reference to $HOME, no ? There is no asciidoctor attribute making reference to $HOME ?
Thanks for your time.

That's a question for the browser extension project. I recommend reposting this comment on the issue you filed. I'm not the author of the extension.

As for whether you should use {user-home} to define the location of images, that's up to you. If it works for you, I'm not going to tell you not to do it. However, it's probably not what I would do. I would keep the images relative to the document so that the content is portable.

Best Regards,

-Dan

--
Dan Allen (he, him, his) | @mojavelinux | https://twitter.com/mojavelinux