New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

draftjs-md-converter

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

draftjs-md-converter - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

6

dist/index.js

@@ -17,3 +17,4 @@ 'use strict';

'header-five': '##### ',
'header-six': '###### '
'header-six': '###### ',
blockquote: '> '
};

@@ -203,3 +204,4 @@

Header6: 'header-six',
CodeBlock: 'code-block'
CodeBlock: 'code-block',
BlockQuote: 'blockquote'
};

@@ -206,0 +208,0 @@

{
"name": "draftjs-md-converter",
"version": "0.1.2",
"version": "0.1.3",
"description": "Converter for converting Draft.js state into Markdown and vice versa",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -48,3 +48,3 @@ [![Build Status](https://travis-ci.org/kadikraman/draftjs-md-converter.svg?branch=master)](https://travis-ci.org/kadikraman/draftjs-md-converter)

```
This can be extended or overridden by passing it in as a second optional argument to `draftjsToMd`, e.g.
The inline styles extended or overridden by passing it in as a second optional argument to `draftjsToMd`, e.g.
```js

@@ -58,2 +58,4 @@ const myMdDict = {

NOTE: at this point you cannot override block styles!
## Example

@@ -60,0 +62,0 @@

@@ -16,2 +16,3 @@ 'use strict';

'header-six': '###### ',
blockquote: '> ',
};

@@ -18,0 +19,0 @@

@@ -25,2 +25,3 @@ 'use strict';

CodeBlock: 'code-block',
BlockQuote: 'blockquote',
};

@@ -27,0 +28,0 @@

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