Login  Register

Re: Asciidoctor pdf - Custom admonition icons

Posted by be.wood on Aug 09, 2019; 7:29pm
URL: https://discuss.asciidoctor.org/Asciidoctor-pdf-Custom-admonition-icons-tp5850p7059.html

admonition.yml
extension.rb
notice-block.rb

sample.adoc

These are the three files (with the extension.rb being placed into a notice-block folder in the lib folder). I have tried to call the admonition.yml without success.

If I run the straight asciidoctor and call the notice-block to generate HTML output I get what I expect with icons for each of the admonitions in the sample, but when I try to run it for asciidoctor-pdf I don't get anything (they are admonitions, but with no icons), and I get the error messages.

This is all on Windows with ruby installed (if that makes any difference).

I appreciate all your help (this is for an external community that will rely on what I'm doing here, hopefully to standardize document creation on Asciidoctor and GitHub).

Thank you.