Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    @more-markdown/tree-processorpublic

    more-markdown / tree-processor

    A plugin for more-markdown that renders graphs in tree preorder notation.

    Installation

    You first need a more-markdown setup. Then you can install it via:

    npm install @more-markdown/tree-processor
    

    Usage

    var moreMarkdown = require('more-markdown');
    var treeProcessor = require('@more-markdown/tree-processor');
    
    // create a processor that writes the final html
    // to the element with the id 'output'
    var proc = moreMarkdown.create('output', processors: [treeProcessor]);
    
    proc.render("```tree" +
    "A(B(D E(F))C)"
    "```");
    

    install

    npm i @more-markdown/tree-processor

    Downloadsweekly downloads

    0

    version

    0.0.8

    license

    MIT

    repository

    githubgithub

    last publish

    collaborators

    • avatar