@double-great/remark-lint-alt-text
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

remark-lint-alt-text Build Status

A remark-lint plugin that finds unhelpful or missing image alt text.

It uses the rules definition from https://github.com/double-great/alt-text.

Install

npm install --save-dev remark-cli @double-great/remark-lint-alt-text

Add the remark-lint-alt-text plugin to your remark configuration:

"remarkConfig": {
  "plugins": [
    "@double-great/remark-lint-alt-text"
  ]
},

You can also customize suggestions:

"remarkConfig": {
  "plugins": [
    ["@double-great/remark-lint-alt-text", [1, { "empty-alt-text": false }]],
  ]
},

Package Sidebar

Install

npm i @double-great/remark-lint-alt-text

Weekly Downloads

299

Version

1.0.0

License

MIT

Unpacked Size

5.66 kB

Total Files

5

Last publish

Collaborators

  • katydecorah
  • jsnmrs