Skip to content

This package provides netzkern .remarkrc as an extensible shared config.

License

Notifications You must be signed in to change notification settings

netzkern/remark-preset-lint-netzkern

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🐱 remark-preset-lint-netzkern

This package provides netzkern .remarkrc as an extensible shared config.

What is remark?

remark-lint is a markdown code style linter. Another linter? Yes. Ensuring the markdown you (and contributors) write is of great quality will provide better rendering in all the different markdown parsers, and makes sure less refactoring is needed afterwards.

Install

npm:

npm install remark-config-netzkern --save

Usage

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

 ...
 "remarkConfig": {
+  "plugins": ["preset-lint-netzkern"]
 }
 ...

Or use it on the CLI directly

remark -u preset-lint-netzkern readme.md

Or use this on the API:

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

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

Improving this config

rules lists all available official rules.

About

This package provides netzkern .remarkrc as an extensible shared config.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published