1.1.3 • Published 3 years ago

jstransformer-asciidoctor v1.1.3

Weekly downloads
4
License
MIT
Repository
github
Last release
3 years ago

jstransformer-asciidoctor Actions Status Known Vulnerabilities MIT license NPM version

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.