jstransformer-asciidoctor
This library adds AsciiDoc support via Asciidoctor.js to JSTransformers.
Installation
npm install jstransformer-asciidoctor
Usage
const asciidoctor = require("jstransformer")(require("jstransformer-asciidoctor"));
console.log(asciidoctor.render("_Hello world!_").body);
// => <div class="paragraph">
// <p><em>Hello world!</em></p>
// </div>
License
jstransformer-asciidoctor is released under the MIT license. See the LICENSE file for more information.