Ionaru / easy-markdown-editor

EasyMDE: A simple, beautiful, and embeddable JavaScript Markdown editor. Delightful editing for beginners and experts alike. Features built-in autosaving and spell checking.
https://stackblitz.com/edit/easymde
MIT License
2.45k stars 319 forks source link

Is it possible to setup auto completion ? #344

Open chrisvel opened 3 years ago

chrisvel commented 3 years ago

I want to add backlinks in my app, so the way to do is to setup something like an event being triggered when the user presses [[ keys.

Then a dropdown list would pop up letting the user select a choice from the provided ones and will be translated to a markdown link.

Is it possible to do something like this in EasyMDE ?

mike-seekwell commented 3 years ago

@chrisvel did you end up implementing this?

BoPeng commented 2 years ago

My use case is something similar in GitHub, namely bringing up a list of users when typing @ and list of issues when typing # . Is it possible for easyMDE to do this, maybe in combination with something like select2?

Ionaru commented 2 years ago

Ref: https://github.com/Ionaru/easy-markdown-editor/issues/198