Re: Problem with getting docinfo_processor to be used in jekyll asciidoctor
Posted by
mojavelinux on
URL: https://discuss.asciidoctor.org/Problem-with-getting-docinfo-processor-to-be-used-in-jekyll-asciidoctor-tp7326p7327.html
The docinfo processor doesn't run for embedded documents (which is the mode Asciidoctor uses inside a site generator like Jekyll). As to whether it should, that's an open discussion.
But don't despair. You can use a postprocessor instead. When producing an embedded document, the two are effectively the same.
(The other solution would be to create a liquid tag that can be used in the page template, or just add the additional resources to the page template directly. Though I realize that's not as encapsulated).
Cheers,
-Dan
--