Have ideas to improve npm?Join in the discussion! »

    @accordproject/markdown-slate

    0.12.12 • Public • Published

    Slate Transformer

    Use SlateTransformer to transform a CiceroMark DOM to/from a JSON representation for the Slate DOM (version 0.4x.x).

    Installation

    npm install @accordproject/markdown-slate --save
    

    Usage

    const SlateTransformer = require('@accordproject/markdown-slate').SlateTransformer;
    slateTransformer = new SlateTransformer();
    const slateValue = slateTransformer.fromMarkdown('test <variable id="foo" value="bar"/>');

    License

    Accord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.

    © 2017-2019 Clause, Inc.

    Install

    npm i @accordproject/markdown-slate

    DownloadsWeekly Downloads

    2,141

    Version

    0.12.12

    License

    Apache-2.0

    Unpacked Size

    259 kB

    Total Files

    9

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar