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