mochajs/markdownlint-cli

Name: markdownlint-cli

Owner: Mocha

Description: MarkdownLint Command Line Interface

Forked from: igorshubovych/markdownlint-cli

Created: 2017-12-21 21:49:32.0

Updated: 2018-01-03 22:59:49.0

Pushed: 2017-12-22 00:05:33.0

Homepage: null

Size: 73

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

markdownlint-cli Travis CI Build Status AppVeyor CI Build Status

Command Line Interface for MarkdownLint

Installation
install -g markdownlint-cli
Usage
rkdownlint --help

age: markdownlint [options] <files>

rkdownLint Command Line Interface

tions:

-h, --help                 output usage information
-V, --version              output the version number
-c, --config [configFile]  Configuration file
Configuration

markdownlint-cli reuses the rules from markdownlint package.

Configuration is stored JSON or INI files in the same config format.

The example of configuration file:


efault": true,
D003": { "style": "atx_closed" },
D007": { "indent": 4 },
o-hard-tabs": false,
hitespace": false

See test configuration file or style folder for more examples.

CLI argument --config is not mandatory. If it is not provided, markdownlint-cli looks for file .markdownlint.json in current folder, or for file .markdownlintrc in current or all upper folders. The algorithm is described in details on rc package page.

Related
License

MIT © Igor Shubovych


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.