-
Notifications
You must be signed in to change notification settings - Fork 500
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
Using an image results in an error #8
Comments
I'm using f9dbca4 |
That's correct, Asciidoctor PDF doesn't yet support inline images (reported as #9). Prawn doesn't have an easy way to place images inline, so I'm still sorting out the best way to handle them. In the meantime, you can use a block-level image. Just use two colons instead of one.
|
Do you agree that the scope of this issue has been captured in #9? |
Sure. |
N.B.: The github asciidoc renderer doesn't know what to do with that syntax: https://gist.github.com/pcn/50bed8a876e8ef1f6043. |
That's because a block macro must be on one line only. |
I'm trying to put an image into a document. Using this syntax:
I get the following error:
and produces a pdf document with the error text embedded in it. I'm technically shallow with how asciidoctor-pdf and its rendering process works, so all I can do is compare it to rendering html via asciidoc, and the github adoc renderer. Both of them seem to work with this example.
The text was updated successfully, but these errors were encountered: