markdown-magic-engines
July 5, 2026 ยท View on GitHub
๐ฆ This package has moved. It now lives in the markdown-magic-plugins monorepo at
packages/engines. This repository is archived; issues and contributions go to the monorepo.
markdown-magic-engines
Print engine requirements from package.json via markdown-magic
Install
yarn add -D markdown-magic markdown-magic-engines
Note: markdown-magic is a peer dependency and must be installed separately from this module
Adding the plugin
See example.js for usage.
import path from 'path';
import { markdownMagic } from 'markdown-magic';
import ENGINES from './index.js';
const config = {
matchWord: 'AUTO-GENERATED-CONTENT',
transforms: {
ENGINES,
},
};
const markdownPath = path.join(import.meta.dirname, 'README.md');
await markdownMagic(markdownPath, config);
Usage in markdown
- node: >=22.18.0