Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

remark-lint-rule-style

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remark-lint-rule-style

remark-lint rule to warn when horizontal rules violate a given style

  • 1.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
43K
decreased by-57.2%
Maintainers
1
Weekly downloads
 
Created
Source

remark-lint-rule-style

Warn when the horizontal rules violate a given or detected style.

Note that horizontal rules are also called “thematic break”.

Options: string, either a valid markdown rule, or consistent, default: 'consistent'.

Install

npm install --save remark-lint-rule-style

Example

When this rule is '* * *', the following file valid.md is ok:

<!-- This is also valid when `consistent`. -->

* * *

* * *

When this rule is '_______', the following file valid.md is ok:

<!-- This is also valid when `consistent`. -->

_______

_______

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

<!-- Always invalid. -->

***

* * *
5:1-5:6: Rules should use `***`

When '!!!' is passed in, the following error is given:

1:1: Invalid preferred rule-style: provide a valid markdown rule, or `'consistent'`

License

MIT © Titus Wormer

Keywords

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc