Re: copycss attribute causes exception in asciidoctor-java-integration
Posted by
mojavelinux on
May 15, 2013; 8:54pm
URL: https://discuss.asciidoctor.org/copycss-attribute-causes-exception-in-asciidoctor-java-integration-tp179p203.html
Alex et al,
I've done some thinking about this and I absolutely like the idea of being able to have Asciidoctor pass information about the file it wants to read to the integration layer and allow the integration layer to read it.
For the default stylesheet however, since it's a very special case...at least for now, I'm going to store the content in a string so that there is no need to locate a file to read the content. There are a few reasons for doing it this way...but most importantly it keeps things self contained for handling such a core use case.
Here's the pull request for that change. This will solve the immediate copycss problem in the integration layer...because now we are not reading a file:
When we get into bundles themes and perhaps backends, then we will need to use the integration that Alex is proposing. It's still critical.
-Dan