A pnpm monorepo of transform plugins for markdown-magic.
This README is itself generated with markdown-magic and the markdown-magic-subpackage-list
plugin — see example.js.
import path from 'path';
import { markdownMagic } from 'markdown-magic';
import SUBPACKAGELIST from 'markdown-magic-subpackage-list';
const config = {
matchWord: 'AUTO-GENERATED-CONTENT',
transforms: {
SUBPACKAGELIST,
},
};
const markdownPath = path.join(import.meta.dirname, 'README.md');
await markdownMagic(markdownPath, config);- markdown-magic-dependency-table - Generate table of information about dependencies automatically in markdown
- markdown-magic-directory-tree - Print an archy tree for markdown file
- markdown-magic-engines - Render engine requirements in Markdown files via Markdown Magic
- markdown-magic-install-command - Print install command for markdown file
- markdown-magic-last-modified - Print the last modified date using git for a given file
- markdown-magic-package-scripts - Print list of scripts in package.json with descriptions
- markdown-magic-prettier - Prettify JS blocks
- markdown-magic-pulpo-schema - Document configurations built with Pulpo
- markdown-magic-subpackage-list - Print a list of subpackages for markdown file
- markdown-magic-template - Lodash template support via Markdown Magic
- markdown-magic-version-badge - Version badge via Markdown Magic
pnpm install
pnpm test
pnpm run docs
MIT