##// END OF EJS Templates
Moved more code to Strings utilities file
Moved more code to Strings utilities file

File last commit:

r10386:6416b524
r10434:855e7b47
Show More
test.ipynb
219 lines | 23.6 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
In [ ]:
# This is intended to be a cell with missing prompt number, so don't execute it!