-
yarn add -DE @foray1010/remark-preset remark-cli
-
Create an
.remarkrc.mjs
in the project rootconst config = { plugins: ['@foray1010/remark-preset'], } export default config
-
Use default remarkignore via npm script
{ "scripts": { "remark": "remark --ignore-path=node_modules/@foray1010/remark-preset/remarkignore --ignore-path-resolve-from=cwd --silently-ignore" } }
then use
npm run remark
oryarn remark
to replaceremark