unified

Project: ybiquitous/remark-lint-code-block-syntax

Package: remark-lint-code-block-syntax@0.3.0

  1. Dependents: 1
  2. A remark-lint rule to check language syntax in a code block.
  1. remark 190
  2. lint 77
  3. rule 72
  4. remark-lint-rule 65
  5. code 5
  6. block 2

npm

remark-lint-code-block-syntax

A remark-lint rule to check language syntax in a code block.

Supported languages

Install

$ npm install remark-lint-code-block-syntax

Usage

Via a command-line argument:

$ remark --use remark-lint-code-block-syntax
docs/config.md
  32:1-32:4  warning  Invalid JSON: Unexpected token a in JSON at position 128  code-block-syntax  remark-lint

Via a configuration file:

{
  "plugins": ["remark-lint-code-block-syntax"]
}