Re: AsciidoctorJ's "convertFile(s)" methods don't return html

Posted by sean.osterberg on
URL: https://discuss.asciidoctor.org/AsciidoctorJ-s-convertFile-s-methods-don-t-return-html-tp2771p2773.html

Thank you for your quick reply and help, that works great. I must have missed the toFile option. I'll try and propose an update to the docs to make it a bit more straightforward.

Another question that has more to do with the Asciidoctor processor and less AsciidoctorJ -- There are topic attributes I want to enable globally but not declare in each file, for example the sectanchors attribute. Is it possible to pass these as an option/attribute to the processor and apply them at conversion?

Thanks,
Sean