Ionaru / Ionaru/easy-markdown-editor
Autocomplete for links - CodeMirror Addons
Open
Question
- Dominant language
- JavaScript
- Stars
- 3.1k
- Forks
- 363
- PR merge metrics
- No merged PRs in 30d
Description
**How to implemet autocomplete using CodeMirror Addons?**
I want to implement an autocomplete feature, so when the user starts typing a link, the editor would suggest from a predefined list of options.
Exploring CodeMirror I found [this autocomplete example](https://codemirror.net/demo/complete.html) that uses addons.
I could find on the easymde docs how to add addons to the underlying CodeMirror instance. Would I have to change easymde code? If so, is it just a matter of passing the addons in the easymde options and the pass those when initializing CodeMirror?
Contributor guide
Assessment
This issue has not been assessed yet.