How to use Asciidoctor.js in Qt application

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

How to use Asciidoctor.js in Qt application


I am looking to use Asciidoctor.js for a Qt creator plugin that would be used for asciidoc preview.
I read thru all the documents shared and I understand asciidoctor.js can be included and used

But Im not very clear on how to include the asciidoctor.js as part of my Qt source files.

Using the below script directly is not recognized as it does not know from where to refer this file
<script src="node_modules/@asciidoctor/core/dist/browser/asciidoctor.js"></script>
I have my plugin running in Ubuntu machine and how should I take this forward ?
I know its too basic but would be great if someone can kindly support.