Blogging with ipynb

  |   Source

To use ipynb

Download an IPython compatible theme. To list all the available themes in Nikola:

nikola install_theme -l

To install

nikola install_theme jinja-site-ipython

Modify your conf.py file. Add the following lines to POSTS:

("posts/*.ipynb", "posts", "post.tmpl", True),

and add the following line to PAGES:

("stories/*.ipynb", "stories", "story.tmpl", False),

and set THEME to:

THEME = 'jinja-site-ipython'

To write a new post,

nikola new_post -f ipynb

-f ipynb is not needed if POSTS/PAGES only have ipynb option