[IPython-User] Problem with notebook code block syntax highlighting

Jacob Vanderplas jakevdp@cs.washington....
Mon Apr 15 14:50:21 CDT 2013


Hi,
I'm trying to display a code block in the notebook which uses the floor
division operator: `//`.  The syntax highlighter seems to interpret this as
a C-style comment, and puts the rest of the line in green italics.  Is
there a way to fix this?  Note that the syntax highlighting is fine in a
code cell; it's only in an indented code block within a markdown cell that
the problematic highlighting occurs.
   Jake
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-user/attachments/20130415/aa38cdb6/attachment.html 


More information about the IPython-User mailing list