Closed hvostail closed 3 years ago
Hi,
this is already possible. You can use an URL specifying the respective asciidoctor variables. So your URL would look like:
http://127.0.0.1:8815/render?var-template=demo_report&pdf-theme=demo_theme
So the variable needs to be named pdf-theme instead of var-theme. Keep in mind that the theme filename in the URL has to exactly match the theme filename including extension (e.g. ˋ.ymlˋ).
Would you kindly confirm if that fits your need?
Hello,
thanks, this is fine with me.
Hello,
It would be good to have a possibility to pass the name of the theme inside the URL when running as a webservice, example:
http://127.0.0.1:8815/render?var-template=demo_report&var-theme=demo_theme
Perhaps, you could include similar functionality in the upcoming releases?