markdown-magic-subpackage-list

1.1.2 • Public • Published

Subpackage list plugin

Add a list of sub-packages with links via markdown-magic

Install

npm i markdown-magic markdown-magic-subpackage-list --save-dev

Adding the plugin

See example.js for usage.

const fs = require('fs');
const path = require('path');
const markdownMagic = require('markdown-magic');

const config = {
  transforms: {
    SUBPACKAGELIST: require('./index.js'),
  },
};

const markdownPath = path.join(__dirname, 'README.md');
markdownMagic(markdownPath, config);

Usage in markdown

Options

  • dir - ./packages by default
  • verbose - false by default - print out description of package
  • bullet - * by default - set to 1. to create a numbered list

Package Sidebar

Install

npm i markdown-magic-subpackage-list

Weekly Downloads

235

Version

1.1.2

License

MIT

Unpacked Size

3.58 kB

Total Files

5

Last publish

Collaborators

  • camacho