Re: How to introduce a new Slim template
Posted by torngat on May 22, 2015; 2:20pm
URL: https://discuss.asciidoctor.org/How-to-introduce-a-new-Slim-template-tp3248p3251.html
Hi Dan,
Two things:
1) Thanks a lot! It worked beautifully and now I can extract my Bootstrap-enabled tabs and accordions into their own components! Just out of curiosity, is it possible to package Ruby extensions into a library of some sort and refer to that archive via the <requires> configuration instead of explicitly defining every extension? Of course, I guess the easiest approach would be to put all my new block definitions into a single Ruby file.
2) A thousand apologies, because you had already given me a lot of this information in the previous thread as a third way to achieve my goals. The first having worked for the initial easy stuff, I forgot to go back and check your other suggestions. I feel pretty bad about it, so I'll try to make it up in a documentation effort. :/
Cheers!
Sebastien