0.0.5 • Published 9 months ago

markdownlint-cli2-formatter-pretty v0.0.5

Weekly downloads
191
License
MIT
Repository
github
Last release
9 months ago

markdownlint-cli2-formatter-pretty

An output formatter for markdownlint-cli2 that looks like markdownlint-cli2-formatter-default with color and clickable links.

npm version License

Install

npm install markdownlint-cli2-formatter-pretty --save-dev

Use

To enable this formatter, use the following .markdownlint-cli2.jsonc:

{
  "outputFormatters": [
    [ "markdownlint-cli2-formatter-pretty" ]
  ]
}

Many terminals support color (implemented by chalk), but support for clickable links (implemented by terminal-link) is not as widespread. Where possible, rule names in output are rendered as clickable links with information about the rule.

To append informational links to the output instead (which may be clickable):

{
  "outputFormatters": [
    [ "markdownlint-cli2-formatter-pretty", { "appendLink": true } ]
  ]
}

Example

0.0.5

9 months ago

0.0.4

1 year ago

0.0.3

2 years ago

0.0.2

3 years ago

0.0.1

3 years ago