Closed zeroexcuses closed 1 year ago
Perhaps the code for another little code mirror project I did might help. See here: https://github.com/patricoferris/okra-web/blob/main/js/common/edit.ml I added the markdown
extension to the editor and bound it here: https://github.com/patricoferris/okra-web/blob/main/js/basic.js
Thanks, I think I have it figured out now. Main problem was unfamiliarity with jsoo/js-bindings, and constant fear that any change would break the build.
Hi,
Can you show me how to integrate https://github.com/replit/codemirror-vim into try-eio ?
For plain JS/TS, it's just
but in this case, it seems https://github.com/patricoferris/jsoo-code-mirror/blob/bd1d3c68a23655cd667986aef48c05a6514fd194/includes/includes.js is exporting a few functions to OCaml, and hands control over to OCaml.