Socket
Socket
Sign inDemoInstall

medium-editor-markdown

Package Overview
Dependencies
93
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    medium-editor-markdown

A Medium Editor extension to add markdown support.


Version published
Weekly downloads
320
decreased by-19.8%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

medium-editor-markdown

medium-editor-markdown

A Medium Editor extension to add markdown support.

Installation

$ npm i medium-editor-markdown

Documentation

MeMarkdown(options, callback)

Creates a new instance of MeMarkdown.

Params
  • Object options: An object containing the following fields:
  • events (Array): An array with the events when the markdown code will be generated (default: ["input", "change"]).
  • subscribeToMeEditableInput (Boolean): If this is true we will respond to the medium editor's custom "editableInput" event
  • callback (Function): The callback function. If the second argument is a function, then it has greater priority.
  • toTurndownOptions (Object): Options to pass to the markdown converter code.
  • ignoreBuiltinConverters (Boolean): If true, the default converters passed to toMarkdown will be ignored.
  • Function callback: The callback function that is called with the markdown code (first argument).

How to contribute

Have an idea? Found a bug? See how to contribute.

License

See the LICENSE file.

Keywords

FAQs

Last updated on 10 Sep 2019

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc