medium-editor-markdown

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

  • 所有者: IonicaBizau/medium-editor-markdown
  • 平台:
  • 许可证: MIT License
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

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.

主要指标

概览
名称与所有者IonicaBizau/medium-editor-markdown
主编程语言JavaScript
编程语言JavaScript (语言数: 3)
平台
许可证MIT License
所有者活动
创建于2015-02-08 10:30:16
推送于2025-02-14 08:34:54
最后一次提交2025-02-14 09:34:15
发布数22
最新版本名称3.3.0 (发布于 )
第一版名称1.0.0 (发布于 )
用户参与
星数781
关注者数8
派生数67
提交数170
已启用问题?
问题数29
打开的问题数7
拉请求数44
打开的拉请求数0
关闭的拉请求数3
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?