This package has been deprecated

Author message:

This module is now under the @mapbox namespace: install @mapbox/stylelint-processor-markdown instead

stylelint-processor-markdown

0.3.0 • Public • Published

stylelint-processor-markdown

Build Status

A stylelint processor for using stylelint on GFM fenced code blocks in Markdown.

Uses remark to parse the Markdown.

Options

syntax

Type: String, Default: 'css'

Specify the language for code blocks that will be sent through stylelint.

By default, this module looks for CSS blocks. If you would like to lint another syntax supported by stylelint, change this option to match the code blocks language (e.g. to 'scss' for ```scss blocks) and make sure you tell stylelint about your non-standard syntax when you run it.

If you have one Markdown file with code blocks of multiple syntaxes, you'll need to lint it multiple times, once for each syntax.

Package Sidebar

Install

npm i stylelint-processor-markdown

Weekly Downloads

0

Version

0.3.0

License

MIT

Last publish

Collaborators

  • davidtheclark