remark-lint
remark plugin to lint Markdown code style
Last updated 9 days ago by wooorm .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install remark-lint 
SYNC missed versions from official npm registry.

remark-lint

Build Coverage Downloads Size Sponsors Backers Chat

remark plugin to lint Markdown code style.

Read more about remark-lint on the monorepo readme.

This package doesn’t do much other than suppressing messages through comments.

If you’re using presets, they already include remark-lint itself. If you’re using just plugins, you have to include remark-lint explicitly.

Install

npm:

npm install remark-lint

Use

You probably want to use it on the CLI through a config file:

 …
 "remarkConfig": {
   "plugins": [
     …
+    "lint",
     …
   ]
 }
 …

Or use it on the CLI directly

remark -u lint readme.md

Or use this on the API:

 var remark = require('remark')
 var report = require('vfile-reporter')

 remark()
+  .use(require('remark-lint'))
   .process('_Emphasis_ and **importance**', function (err, file) {
     console.error(report(err || file))
   });

Contribute

See contributing.md in remarkjs/.github for ways to get started. See support.md for ways to get help.

This project has a code of conduct. By interacting with this repository, organization, or community you agree to abide by its terms.

License

MIT © Titus Wormer

Current Tags

  • 7.0.1                                ...           latest (9 days ago)

33 Versions

  • 7.0.1                                ...           9 days ago
  • 7.0.0                                ...           3 months ago
  • 6.0.6                                ...           4 months ago
  • 6.0.5                                ...           a year ago
  • 6.0.4                                ...           2 years ago
  • 6.0.3                                ...           2 years ago
  • 6.0.2                                ...           2 years ago
  • 6.0.1                                ...           3 years ago
  • 6.0.0                                ...           3 years ago
  • 5.4.0                                ...           4 years ago
  • 5.3.0                                ...           4 years ago
  • 5.2.0                                ...           4 years ago
  • 5.1.0                                ...           4 years ago
  • 5.0.1                                ...           4 years ago
  • 5.0.0                                ...           4 years ago
  • 4.2.0                                ...           4 years ago
  • 4.1.0                                ...           4 years ago
  • 4.0.2                                ...           4 years ago
  • 4.0.1                                ...           4 years ago
  • 4.0.0                                ...           4 years ago
  • 3.2.1                                ...           4 years ago
  • 3.2.0                                ...           4 years ago
  • 3.1.0                                ...           4 years ago
  • 3.0.0                                ...           4 years ago
  • 2.3.1                                ...           4 years ago
  • 2.3.0                                ...           4 years ago
  • 2.2.1                                ...           4 years ago
  • 2.2.0                                ...           4 years ago
  • 2.1.0                                ...           5 years ago
  • 2.0.3                                ...           5 years ago
  • 2.0.2                                ...           5 years ago
  • 2.0.1                                ...           5 years ago
  • 2.0.0                                ...           5 years ago
Maintainers (2)
Downloads
Today 2
This Week 258
This Month 480
Last Day 44
Last Week 283
Last Month 1,215
Dependencies (1)
Dev Dependencies (0)
None
Dependents (118)

Copyright 2014 - 2016 © taobao.org |