##// END OF EJS Templates
add js_extensions_path...
add js_extensions_path serves files in `IPYTHONDIR/js_extensions` at `/js_extensions`. This is a location for users / devs to drop-in frontend customization as js modules, css, etc. The model is very much like the extensions dir (hence the name) - it's a location made available, but not loaded by default. You can load things from there with require, etc. It's a configurable search path, just like static. This way we can define a system-wide location at a later point (/usr/share/ipython/js_extensions?) and still have user installs.

File last commit:

r11770:6b8a9d57
r12800:e6dfc2ae
Show More
align_reveal_cells.tpl
16 lines | 427 B | application/vnd.groove-tool-template | SmartyLexer
{%- extends 'reveal_internals/reveal_cells.tpl' -%}
{%- block any_cell scoped -%}
{%- if cell.metadata.align_type in ['Left'] -%}
{{ super() }}
{%- elif cell.metadata.align_type in ['center'] -%}
<div style="text-align:center">
{{ super() }}
</div>
{%- elif cell.metadata.align_type in ['right'] -%}
<div style="text-align:right">
{{ super() }}
</div>
{%- endif -%}
{%- endblock any_cell -%}