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?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?