Is API usage possible? #712
-
All the examples in the README file show invoking asciidoctor-web-pdf as a CLI tool. Is that the only intended usage, or is it also possible to use this as an API? Currently I have a script wich calls |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey! |
Beta Was this translation helpful? Give feedback.
Hey!
Asciidoctor Web PDF relies on an headless browser (through Puppeteer). You can invoke Asciidoctor Web PDF programmatically but it will start an headless browser that's the main reason why we didn't introduce a proper API.