Re: have asciidoctorj output html to be include in jekyll generated site ?
Posted by
mojavelinux on
URL: https://discuss.asciidoctor.org/have-asciidoctorj-output-html-to-be-include-in-jekyll-generated-site-tp8353p8369.html
> David Jencks wrote:
> If you are saying that you would like the tabs asciidoctor
extension and related Antora UI bits, and the copy-to-clipboard UI bits
to be in external separately maintained reusable projects, I think
that’s a good idea and I may pursue it.
Note that the copy to clipboard feature is a planned addition to the default UI. I just haven't gotten around to merging it in yet.
> However,
AFAIK there is no good accepted way to make a “js + css” extension in
general; for non-Antora projects you’re going to be adjusting the
stylesheets and header/footer scripts yourself.
The extension itself should be published as a npm module (or at least set up to be loaded from git). It's still up to the UI to style it, but that's a necessary separation since tabs are part of the visual design. And the UI is already a separate software component. I don't think it's a good idea for an extension to be adding CSS other than purely utility classes. We do need a way for Antora to pick those up, perhaps by honoring docinfo. But that's a problem we should be discussing in Antora.
Best Regards,
-Dan
--