JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 171
  • Score
    100M100P100Q94069F
  • License MIT

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

Package Exports

  • remark-lint-code-block-syntax

Readme

npm

remark-lint-code-block-syntax

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

Supported languages

  • JavaScript
  • JSON
  • YAML

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"]
}