##// END OF EJS Templates
Turn on MathJax Safe extension...
Turn on MathJax Safe extension Not having this on allows mathjax links in Markdown cells which can execute javascript that are not sanitized by caja, for example: $E \href{javascript:alert("Einstein says so!")}{=} mc^2$ See http://docs.mathjax.org/en/latest/safe-mode.html for more details.

File last commit:

r18715:0cbfed85
r21454:a6b56ebf
Show More
__init__.py
25 lines | 866 B | text/x-python | PythonLexer
MinRK
update tornado dependency to 2.1...
r4856 """The IPython HTML Notebook"""
MinRK
move DEFAULT_STATIC_FILES_PATH to frontend.html.notebook...
r10199 import os
# Packagers: modify this line if you store the notebook static files elsewhere
DEFAULT_STATIC_FILES_PATH = os.path.join(os.path.dirname(__file__), "static")
Scott Sanderson
DEV: Add IPython.html to the default template path....
r18695
# Packagers: modify the next line if you store the notebook template files
# elsewhere
# Include both IPython/html/ and IPython/html/templates/. This makes it
# possible for users to override a template with a file that inherits from that
# template.
#
# For example, if you want to override a specific block of notebook.html, you
Scott Sanderson
DOC: Fix typo in comment.
r18715 # can create a file called notebook.html that inherits from
Scott Sanderson
DEV: Add IPython.html to the default template path....
r18695 # templates/notebook.html, and the latter will resolve correctly to the base
# implementation.
DEFAULT_TEMPLATE_PATH_LIST = [
os.path.dirname(__file__),
os.path.join(os.path.dirname(__file__), "templates"),
]
MinRK
add pyzmq check to notebook.__init__...
r6630
MinRK
move DEFAULT_STATIC_FILES_PATH to frontend.html.notebook...
r10199 del os
MinRK
add install_nbextension at top-level IPython.html
r15222
Scott Sanderson
DEV: Support for configurable list of extra jinja template directories.
r18693 from .nbextensions import install_nbextension