Skip to content

clockwork-it/simplemde-markdown-editor-mention

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SimpleMDE - Markdown Editor (With Mentions)

Based on sparksuite/simplemde-markdown-editor

var md = new SimpleMDE(
{ 
    element: document.getElementById("MyID"),
    autoSuggest: 
    {
        mode: 'markdown',
        startChars: ['@', '#'],
        listCallback: function(stringToTest)
        {
            return [
                    {
                        text: 'Thomas ',
                        displayText: 'Thomas'
                    },
                    {
                        text: 'Maria ',
                        displayText: 'Maria'
                    },
                    {
                        text: 'Peter ',
                        displayText: 'Peter'
                    }
                ];
        }
    }
});

About

SimpleMDE - Markdown Editor (With Mentions)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 88.7%
  • CSS 11.3%