##// END OF EJS Templates
Much cleaner way of picking the right converter (inspired by a suggestion by Carreau).
Much cleaner way of picking the right converter (inspired by a suggestion by Carreau).

File last commit:

r6674:65a259f3
r8728:652928ef
Show More
test.ipynb
209 lines | 23.4 KiB | text/plain | TextLexer

H1

H2

H3

H4

H5
H6

A bit of text, with important things:

  • and
  • more that are boldface, as well as verbatim.

Using markdown hyperlinks for ipython.

In [1]:
f = figure()
plot([1,2,3])
display(f)
No description has been provided for this image
No description has been provided for this image
In [2]:
# multiline input
x = 1
y = 2
In [3]:
1+2
Out[3]:
3
In [4]:
print 'hello world'
hello world

$e^{i\pi} + 1 = 0$

plain text
In [5]:
import sys
m = 'A message'
print m, 'to stdout'
print >> sys.stderr, m, 'to stderr'
m
A message to stdout
A message to stderr
Out[5]:
'A message'
In [6]:
# a traceback
1/0
---------------------------------------------------------------------------
ZeroDivisionError                         Traceback (most recent call last)
/home/fperez/ipython/nbconvert/tests/<ipython-input-6-03412a6702b7> in <module>()
      1 # a traceback
----> 2 1/0

ZeroDivisionError: integer division or modulo by zero