Socket
Socket
Sign inDemoInstall

markdown-it-attrs

Package Overview
Dependencies
0
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.6 to 0.1.7

5

demo.js
'use strict';
var md = require('markdown-it')();
var markdownItAttrs = require('markdown-it-attrs');
var fs = require('fs');
md.use(markdownItAttrs);
var src = fs.readFileSync('demo.md', 'utf8');
var src = '# header {.style-me}\n'
src += 'paragraph {data-toggle=modal}';
var res = md.render(src);
console.log(res);

2

package.json
{
"name": "markdown-it-attrs",
"version": "0.1.6",
"version": "0.1.7",
"description": "Add classes, identifiers and attributes to your markdown with {} curly brackets, similar to pandoc's header attributes",

@@ -5,0 +5,0 @@ "license": "MIT",

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