Socket
Socket
Sign inDemoInstall

megadraft-js-export-markdown

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

megadraft-js-export-markdown

MegadraftJS: Export ContentState to Markdown


Version published
Maintainers
1
Created
Source

This is a fork to adapt draft-js-export-markdown to megadraft

DraftJS: Export ContentState to Markdown

This is a module for DraftJS that will export your editor content to Markdown.

It was extracted from React-RTE and placed into a separate module for more general use. Hopefully it can be helpful in your projects.

Installation

npm install --save megadraft-js-export-markdown

How to Use

import { stateToMarkdown } from 'megadraft-js-export-markdown'
let html = stateToMarkdown(contentState);

This project is still under development. If you want to help out, please open an issue to discuss or join us on Slack.

License

This software is ISC Licensed.

Keywords

FAQs

Package last updated on 18 Oct 2016

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