gophernotes
gophernotes copied to clipboard
Magic commands don't work?
Ran the docker container version of this. Magic commands like %quickref
and %lsmagic
don't work.
Thanks for letting me know. I haven't tackled this sort of thing yet. I'm looking to upgrade a few things soon, so hopefully I will be able to add this in.
Adding some data point..
%env
repl.go:1:1: expected statement, found '%'
Thanks @AnthonyWC. Yeah, this is due to the magic command trying to be processed by gomacro
. We need to handle this is a special way eventually, on the gophernotes side.
Confirmed, gophernotes currently does not implement magic commands. Definitely a TO DO.
Is there anyone working on this? I don't know anything about gophernotes' code base right now, but I'd definitely like to have magic commands or at least a way to run something directly from the system. If no one is doing it I could try to fix it and send a PR, but I'd appreciate someone pointing me where in the code base I should start since I haven't touched it.
Nobody is working on them. Your contribution would be welcome :)
You can start by installing the underlying interpreter gomacro and getting to know its magic commands - type :help at gomacro prompt to list them.
Then, you can examine their implementation and decide how to expose them in gophernotes. The final step is to implement missing magic commands that Jupyter kernels are usually expected to have