jstransformer-asciidoctor

1.1.3 • Public • Published

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.

/jstransformer-asciidoctor/

    Package Sidebar

    Install

    npm i jstransformer-asciidoctor

    Weekly Downloads

    8

    Version

    1.1.3

    License

    MIT

    Unpacked Size

    4.05 kB

    Total Files

    10

    Last publish

    Collaborators

    • michel-kraemer