markdown-magic-engines
v2.1.0
Published
Render engine requirements in Markdown files via Markdown Magic
Maintainers
Readme
markdown-magic-engines
Print engine requirements from package.json via markdown-magic
Install
yarn add -D markdown-magic markdown-magic-enginesNote: markdown-magic is a peer dependency and must be installed separately from this module
Adding the plugin
See example.ts for usage.
import path from 'path';
import { markdownMagic } from 'markdown-magic';
import ENGINES from './index.ts';
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
