Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 567 Bytes

File metadata and controls

26 lines (19 loc) · 567 Bytes

@foray1010/remark-preset

Installation

  1. yarn add -DE @foray1010/remark-preset remark-cli

  2. Create an .remarkrc.mjs in the project root

    const config = {
      plugins: ['@foray1010/remark-preset'],
    }
    export default config
  3. 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 or yarn remark to replace remark