Re: Chrome Asciidoctor.js plugin environment variables
Posted by
mojavelinux on
URL: https://discuss.asciidoctor.org/include-and-imagesdir-in-different-folders-tp8154p8155.html
It's very unlikely this is going to work automatically since the browser plugin is restricted in what information can access from the local system.
home=/home/username
That's because the user-home attribute is hard-coded as ".". If you think it should be possible to override this attribute from the options page, please comment on the issue in the issue tracker.
Best Regards,
-Dan
On Sun, Aug 9, 2020 at 2:39 AM yo [via Asciidoctor :: Discussion] <
[hidden email]> wrote:
Hi,
I need the {user-home} environment variable in my asciidoc scripts. It works perfectly with the asciidoctor plugin in atom but doesn't render with Brave (close to Chromium). Tried to add environment variable in the asciidoctor.js plugin but unsuccessful.
Any idea?
--