[IPython-User] ipython notebook codeblock with greaterthan

William Trimble trimble@anl....
Mon Jan 14 11:31:15 CST 2013


I've found that if a comment line has a > (greater-than sign) for the
first non-whitespace character, it does not render in a fixed-width font
in ipython notebook (0.13.1, Mac firefox 18):

# <nbformat>3</nbformat>
# <markdowncell>
# ``
# ls > ls.dat # one line - displays correctly
# ``
# <markdowncell>
# ``
# ls \
# > ls.dat  # two lines - displays as regular text
# ``
# <codecell>

This looks like a minor comment-parsing bug.

Is there an escaping procedure that gets around this problem?  Html
entities don't render in codeblocks.

Will Trimble






More information about the IPython-User mailing list