How to use the json2md.async function in json2md

To help you get started, we’ve selected a few json2md examples, based on popular ways it is used in public projects.

github adoyle-h / Today-I-Learned / build.js View on Github external

    toc.push({name: '分类', level: 2});

    debug('categories=%O', categories);
    handleCategories(rootCategories, 3, structure);

    toc.push({name: '反馈问题或建议', level: 2});
    toc.push({name: '版权声明', level: 2});

        {md: absPath('_docs/')},
        {md: absPath('_docs/')}

    const content = await json2md.async(structure);

    const file = absPath('');
    await writeFile(file, content);
    console.log('writeFile: %s', file);


A JSON to Markdown converter.

Latest version published 9 days ago

Package Health Score

83 / 100
Full package analysis

Popular json2md functions

Similar packages