Closed cgoguyer closed 2 years ago
Thanks for the bug report. I will take a look at it next week.
@cgoguyer This is a new feature of Asciidoctor added in version 2.0.0. Based on the official documentation it only indicated that:
The processor could not validate the internal reference named
<x>
. This message doesn’t definitively indicate a missing reference. Rather, it indicates the reference (i.e., anchor) is not in a location where the reference can be validated.
You cannot turn off this specific warning, however, you can turn off warnings in general by removing the -w
flag as described here.
When substituting the references it is checked, if the references are in the :refs
asset, which they don't, if the extension created them (line 49). So plainly adding them to :refs
, fixes it:
document.catalog[:refs][element.id] = element
@RandomCore Very good to know! Thank you! It would be cool if you could create a Pull Request for that. ;)
PR is open
Hello,
I'm using gradle and asciidoctor-2.0.17 with asciidoctor-lists:1.0.8. It works fine but I'm getting this INFO message for each link generated (figures and tables). How to correct that or hide these messages?
Thx.