@aiou/remark-config
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published

remark-config

npm GitHub stackblitz

usage

create <root>/.remarkrc.mjs

import preset from '@aiou/remark-config'

const config = {
  plugins: [preset]
}

export default config

lint script

require remark-cli

add lint:md script in package.json

{
  "scripts": {
    "lint:md": "remark ."
  }
}

lint-staged

create .lintstagedrc.mjs

export default {
  // Lint Markdown files with remark
  '**/**/*.md': filenames => [
    `remark ${filenames.join(' ')} -o`,
  ],
}

install

pnpm i @aiou/remark-config

development

  • Setup - pnpm i
  • Build - pnpm build

built with ❤️ by 😼

Readme

Keywords

none

Package Sidebar

Install

npm i @aiou/remark-config

Weekly Downloads

2

Version

0.1.2

License

MIT

Unpacked Size

95.7 kB

Total Files

7

Last publish

Collaborators

  • qidanta