Open ssfrr opened 6 years ago
Did you ever end up finding a fix for this?
nope, haven't figured out a good solution yet
Apparently, Org just uses the syntax highlighting for whatever it sees right after #+BEGIN_SRC
so in this case, I guess it would look for an ipython-mode
. I wonder if there's a way to just tell it to use Julia highlighting for all ipython
blocks.
Syntax highlighting seems to work correctly when using #+BEGIN_SRC jupyter-julia ...
I'm using ob-ipython with a julia kernel, and it seems to be working pretty well (exciting!). One issue is that emacs doesn't know I'm editing julia code inside the block, so the syntax highlighting is for python. I'm creating the block as follows:
Is there any way to have emacs set the syntax mode inside the source block based on the
:kernel
argument?