##// END OF EJS Templates
make CORS configurable...
make CORS configurable allows setting CORS headers. - cors_origin sets Access-Control-Allow-Origin directly - cors_origin_pat allows setting Access-Control-Allow-Origin via regular expression, since the header spec itself doesn’t support complex access[1] - cors_credentials sets Access-Control-Allow-Credentials: true To allow CORS from everywhere: ipython notebook —NotebookApp.cors_origin='*'

File last commit:

r13925:7a8be7be
r17106:600762a6
Show More
article.tplx
16 lines | 463 B | text/plain | TextLexer
Jonathan Frederic
Proof of concept
r12665
Jonathan Frederic
Standard templates default to notebook style.
r12728 % Default to the notebook output style
Jonathan Frederic
Latex book & article implementations
r12668 ((* if not cell_style is defined *))
Jonathan Frederic
Post review with Min, Fernando, and Brian. Simplification...
r12750 ((* set cell_style = 'style_ipython.tplx' *))
Jonathan Frederic
Latex book & article implementations
r12668 ((* endif *))
% Inherit from the specified cell style.
((* extends cell_style *))
%===============================================================================
% Latex Article
%===============================================================================
((* block docclass *))
\documentclass{article}
((* endblock docclass *))