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

markdown-it-html

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

markdown-it-html

<!--! !-->

  • 1.0.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
80
increased by11.11%
Maintainers
1
Weekly downloads
 
Created
Source

markdown-it-html

It is a markdown-it plugin, use special html comments to render real html tag in markdown.

Run npm run test see the test result.

It is use for write normal markdown file but render in a complex page.

option

var md = require('markdown-it')({
  // enable html
  html: true
})

md.use(require('markdown-it-html')({
  // regex of html comment, default is match
  // <!--!<div class="test">!--> then
  // extract <div class="test">.
  re: /<!--!([^]*?)!-->/g
}))

FAQs

Package last updated on 06 Jul 2018

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