JSPM

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

remark-lint rule to warn when HTML nodes are used

Package Exports

  • remark-lint-no-html

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (remark-lint-no-html) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

remark-lint-no-html

Warn when HTML nodes are used.

Ignores comments, because they are used by this tool, remark, and because markdown doesn’t have native comments.

Install

npm install --save remark-lint-no-html

Example

When this rule is turned on, the following file valid.md is ok:

# Hello

<!--Comments are also OK-->

When this rule is turned on, the following file invalid.md is not ok:

<h1>Hello</h1>
1:1-1:15: Do not use HTML in markdown

License

MIT © Titus Wormer