Re: [O] Quoting a REPL session in an org document

2018-04-20 Thread Diego Zamboni
Hi Dov, I think the easiest way is to use a SRC block with a mode that understands the iPython-REPL format - this would give you not only syntax highlighting, but also the possibility of executing code from Org-mode using org-babel. A quick search reveals two likely candidates: https://github.

[O] Quoting a REPL session in an org document

2018-04-20 Thread Dov Grobgeld
Hello, I wonder if there is a "standard" way of quoting a REPL session in an org document. Right now I'm using #example, but I wonder if there is something richer. The ideal would be to get something that is syntax aware so that anything after the "prompt" is syntax highlighted. Here is an exampl