##// END OF EJS Templates
If entering the first object level (i.e. the object...
If entering the first object level (i.e. the object for which the browser has been started) fails, now the error is raised directly (aborting the browser) instead of running into an empty levels list later.

File last commit:

r0:6f629fcc
r521:a2da8368
Show More
nbexample.py
11 lines | 268 B | text/x-python | PythonLexer
from notebook.markup import rest
rest.title('This is a Python Notebook')
rest.heading(1,'A first-level heading')
rest.text("""\
Some plain text, without any special formatting.
Below, we define a simple function to add two numbers.""")
def add(x,y):
return x+y