Skip to content

A simple, beautiful, and embeddable JavaScript Markdown editor. Delightful editing for beginners and experts alike. Features built-in autosaving and spell checking.

License

Notifications You must be signed in to change notification settings

leetcode/simplemde-markdown-editor

Repository files navigation

SimpleMDE - Markdown Editor (With Mentions)

Based on sparksuite/simplemde-markdown-editor

varmd=newSimpleMDE({element: document.getElementById("MyID"),autoSuggest: {mode: 'markdown',triggers: {'@': function(stringToTest){return[{text: 'Thomas ',displayText: 'Thomas'},{text: 'Maria ',displayText: 'Maria'},{text: 'Peter ',displayText: 'Peter'}];},'#': function(stringToTest){return[{text: 'Two Sum ',displayText: 'Two Sum'},{text: '3Sum ',displayText: '3Sum'},{text: '4Sum ',displayText: '4Sum'}];}},},});

About

A simple, beautiful, and embeddable JavaScript Markdown editor. Delightful editing for beginners and experts alike. Features built-in autosaving and spell checking.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript89.2%
  • CSS10.8%