Closed LeviRosol closed 6 years ago
I should have clarified that I'm attempting to get the show-hint
addon to work, and possibly the anyword-hint
on top of that. However, my intent is to write my own addon specific to markdown headers. My assumption is that would ride on top of the show-hint
addon.
I'm attempting to add functionality to homebrewery that allows for autocomplete when generating links based on headers. For example, if you have
When you press
[
you'll get a list ofTaco
andTaco 2
and when you select one, a link appears like so:[Taco](#taco)
It looks like CodeMirrors supports the triggers I need, and I can get it to work as I want in a dummy project, however, I can't seem to get the add-on to work within Homebrewery. A quick summary of what I've done is:
show-hint.js
andanyword-hint.js
incodeEditor.jsx
extraKeys
field ongetDefaultProps
@import (less) 'codemirror/addon/hint/show-hint.css';
What am I missing? I'm sure it's something obvious.