medium-editor-markdown

:pencil: A Medium Editor extension to add markdown support.

  • Owner: IonicaBizau/medium-editor-markdown
  • Platform:
  • License:: MIT License
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

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.

Main metrics

Overview
Name With OwnerIonicaBizau/medium-editor-markdown
Primary LanguageJavaScript
Program languageJavaScript (Language Count: 3)
Platform
License:MIT License
所有者活动
Created At2015-02-08 10:30:16
Pushed At2025-02-14 08:34:54
Last Commit At2025-02-14 09:34:15
Release Count22
Last Release Name3.3.0 (Posted on )
First Release Name1.0.0 (Posted on )
用户参与
Stargazers Count781
Watchers Count8
Fork Count67
Commits Count170
Has Issues Enabled
Issues Count29
Issue Open Count7
Pull Requests Count44
Pull Requests Open Count0
Pull Requests Close Count3
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private