Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

markdown-editor-shell

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

markdown-editor-shell

Client-side markdown editor shell which compatible with any renderer engine.

  • 1.2.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Markdown Editor Shell

Build Status Coverage Status npm version

Client-side markdown editor shell which compatible with any renderer engine.

Example of usage

var editor = new MarkdownEditorShell({
    container: 'content',
    markdownToHtmlConvertor: markdownToHtmlConvertor
});
editor.load();

Demo

Options

container

string or object, an Id of textarea element or element itself for wrapping in MarkdownEditorShell.

fullscreenButtonTitle

string, the title of fullscreen button which will be shown by mouse over. Defaults to Enter Fullscreen.

previewButtonTitle

string, the title of preview button which will be shown by mouse over. Defaults to Toggle Preview Mode.

markdownToHtmlConvertor

function that represents converter from markdown text (input parameter) to html (output value).

additionalButtons

array of groups of buttons to display in toolbar.

Each group should represent the following object:

{
    name: "", // name of group
    buttons: [ // array of group buttons
        {
            title: "Bold", // title of button
            className: "glyphicon glyphicon-bold", // class of button
            action: buttonAction(e) // a function that represents the action of button, where e is instance of plugin
        }
    ]
}

License

Markdown Editor Shell is under the MIT license.

Keywords

FAQs

Package last updated on 16 Apr 2018

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