markdown-magic-plugins

July 5, 2026 · View on GitHub

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);

Packages

Development

pnpm install
pnpm test
pnpm run docs

License

MIT