Socket
Socket
Sign inDemoInstall

markdown-it-attrs

Package Overview
Dependencies
7
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.1 to 3.0.2

6

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

@@ -46,3 +46,3 @@ "main": "index.js",

"eslint": "^5.16.0",
"markdown-it": "^9.0.0",
"markdown-it": "^10.0.0",
"markdown-it-implicit-figures": "^0.9.0",

@@ -53,5 +53,5 @@ "mocha": "*",

"peerDependencies": {
"markdown-it": "^9.0.0"
"markdown-it": ">= 9.0.0 < 11.0.0"
},
"tonicExampleFilename": "demo.js"
}

@@ -52,3 +52,13 @@ # markdown-it-attrs [![Build Status](https://travis-ci.org/arve0/markdown-it-attrs.svg?branch=master)](https://travis-ci.org/arve0/markdown-it-attrs) [![npm version](https://badge.fury.io/js/markdown-it-attrs.svg)](http://badge.fury.io/js/markdown-it-attrs) [![Coverage Status](https://coveralls.io/repos/github/arve0/markdown-it-attrs/badge.svg?branch=master)](https://coveralls.io/github/arve0/markdown-it-attrs?branch=master)

Also works with spans, in combination with the [markdown-it-bracketed-spans](https://github.com/mb21/markdown-it-bracketed-spans) plugin (to be installed and loaded as such then):
```md
paragraph with [a style me span]{.red}
```
Output:
```html
<p>paragraph with <span class="red">a style me span</span></p>
```
## Install

@@ -55,0 +65,0 @@

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