Socket
Socket
Sign inDemoInstall

markdown-it-lazy-headers

Package Overview
Dependencies
0
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    markdown-it-lazy-headers

Lazy ATX headers plugin for markdown-it


Version published
Maintainers
1
Install size
7.92 kB
Created

Readme

Source

markdown-it-lazy-headers

markdown-it-lazy-headers is a plugin for markdown-it that relaxes the syntax of ATX headers so that you don't have to follow the opening sequence of # characters by a space. Should you have any problems while installing or using markdown-it-lazy-headers please open up a new issue.

Installation

npm install --save markdown-it-lazy-headers

Usage

markdown-it-lazy-headers has no configuration options, simply use it with an instance of markdown-it to enable lazy headers:

var md = require('markdown-it')()
        .use(require('markdown-it-lazy-headers'));

Testing

markdown-it-testgen through mocha is used to test markdown-it-lazy-headers. The test suite is a modified version of the ATX header suite used by commonmark:

npm test

License

markdown-it-lazy-headers is released under the MIT license.

Keywords

FAQs

Last updated on 05 Sep 2015

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc