markdown-magic-subpackage-table
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

Markdown Magic Subpackage Table

Add a table of subpackages to markdown files via markdown-magic

Install

yarn add --dev markdown-magic markdown-magic-subpackage-table

Adding the plugin

See src/example.ts for usage, or use it in your markdown.config.js file for CLI usage.

module.exports = {
  transforms: {
		SUBPACKAGETABLE: require('markdown-magic-subpackage-table'),
  },
}

Usage in markdown

This is generated using this plugin src/example.ts:

Package Description Version License
example Example subpackage to test this package 1.1.1 MIT

Options

  • dir (./packages) - packages directory path
  • sortKey ('name') - sort key to sort by, can be: name, link, description, version or license.

Readme

Keywords

none

Package Sidebar

Install

npm i markdown-magic-subpackage-table

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

7.4 kB

Total Files

11

Last publish

Collaborators

  • owenthetwit