We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2565375 commit faf5686Copy full SHA for faf5686
README.md
@@ -9,10 +9,9 @@ var md = new SimpleMDE(
9
autoSuggest:
10
{
11
mode: 'markdown',
12
- startChars: ['@', '#'],
13
- listCallback: function(stringToTest)
14
- {
15
- return [
+ triggers: {
+ '@': function(stringToTest) {
+ return [
16
17
text: 'Thomas ',
18
displayText: 'Thomas'
@@ -26,7 +25,24 @@ var md = new SimpleMDE(
26
25
displayText: 'Peter'
27
}
28
];
29
- }
30
+ },
+ '#': function(stringToTest) {
31
+ {
32
+ text: 'Two Sum ',
33
+ displayText: 'Two Sum'
34
35
36
+ text: '3Sum ',
37
+ displayText: '3Sum'
38
39
40
+ text: '4Sum ',
41
+ displayText: '4Sum'
42
+ }
43
+ ];
44
45
46
47
});
48
```
0 commit comments