Custom Extension with external data (or page variables)
2 posts
I am writing a custom extension. Can it access either the doc.catalog or the attributes passed in for processing? I need access to that information to do the resolution.
Re: Custom Extension with external data (or page variables)
Administrator
2681 posts
That's correct. If you want the original (unprocessed) attributes passed to the API, it's Document#options[:attributes]. Of course, you can access the resolved attributes via Document#attributes.
-Dan
On Thu, Nov 23, 2017 at 1:46 AM, bexelbie [via Asciidoctor :: Discussion] <[hidden email]> wrote:
For those who come after me, it appears this is what you need to walk up the tree: