> This is certainly not supported directly. In principle allowing arbitrary 
> CodeMirror extensions and options could be useful, you can take a look at 
> https://github.com/sagemath/sagecell/blob/master/js/editor.js and perhaps 
> figure out a clean API with implementation for this ;-) 

Thanks for pointing out this file, but I don't speak JS well enough to
pursue a general solution.  So I guess this becomes a feature request:

It would be nice if the options to makeSagecell included a keyMap
option, which, if present, could be included in the editorData
definition in this file.  It would also be nice to automate the
subsequent loading of the appropriate keymap itself (e.g. emacs.js) from
codemirror.net, but authors of webpages with embedded SageMathCell
blocks could also be expected to do that manually so long as there were
documentation to that effect.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-cell" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-cell/20180418171222.60B17380D0%40smtp1.oregonstate.edu.
For more options, visit https://groups.google.com/d/optout.

Reply via email to