Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable images from URIs to be sourced and output with Asciidoctor2PDF #111

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

kennypete
Copy link

I love vim-asciidoctor though found images from URIs would not be sourced or included when using Asciidoctor2PDF.

I've added a few lines of code to asciidoctor2pdf.vim (variable g:asciidoctor_allow_uri_read), tested it, and it works (for .jpg and .png files anyhow), and has no impact if the variable is not set (i.e., to -a allow-uri-read, which is what enables it).

I thought is was worth having it considered, so include it if you want to. I updated the README.adoc too if it is used.

Cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant