Re: CustomHTMLConverter
Posted by abelsromero on
URL: https://discuss.asciidoctor.org/CustomHTMLConverter-tp8088p8093.html
If you don't get anything could be it's not finding the templates folder. The full Windows paths could be causing problems, try using double quotes arrount it and using \.
Sadly asciidoctor does not provide any info in case the folder is not found.
To keep things simple, I'd advise to use relative paths. The way I have my setup is.
----
- demo.adoc
- templates (folder)
|-section.html.slim
----
That is, demo.adoc and templates folder are in the same level. And the template is inside "templates"
Then I run the command "asciidoctor -T templates demo.adoc" from the same folder where "demo.adoc" is located.
Note the full command includes the file to convert at the end.