New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

remark-lint-no-html

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remark-lint-no-html

remark-lint rule to warn when HTML nodes are used

1.0.0
Source
npm
Version published
Weekly downloads
7.4K
-19.61%
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

remark

FAQs

Package last updated on 23 Feb 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts