Re: Using slim include in a template
Posted by
mojavelinux on
URL: https://discuss.asciidoctor.org/Using-slim-include-in-a-template-tp4923p4924.html
I use includes in the Asciidoctor Bespoke converter, so you should be able to cheat off of that.
If you point me to a branch, I can investigate.
(Note that 'slim/include' is automatically loaded by Asciidoctor's template converter).
By default, Slim will resolve the path relative to the current directory. However, I wanted to be able to take this further, so I added additional load paths to the Slim configuration. I still think the Reveal.js converter should follow in the footsteps and subclass the composite converter. It will open up a lot of doors and make packaging possible.
Cheers,
-Dan