Skip to content

Latest commit

 

History

History

remark-preset

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

@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