##// END OF EJS Templates
Add Ctrl-+/- to increase/decrease font size....
Add Ctrl-+/- to increase/decrease font size. I'm not sure yet how to change the window size automatically to keep the window at a constant row/columns size, but at least now users can adjust the font size, which is a major usability issue. Also, fixed minor typo in a variable name.

File last commit:

r1248:19e3b286
r3081:f0980fb5
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