Trying out ipython blogging
How to easily publish an ipython notebook?¶
installing the appropriate plugins¶
Here, we will need to install additions to the nikola publishing tool: a rendering machine + a theme. Using homebrew in mcosx, this looks like:
brew install npm
npm install -g less
and
nikola install_theme zen-ipython
Once this was done, one could tune conf.py
and then issue:
nikola new_post -f ipynb
Finally, one needs to build (nikola build
) and publish (nikola deploy
)
example¶
In [1]:
plot(rand(50))
Out[1]:
Now an inline formula $e^{i \pi}=-1$ that should be rendered correctly as math.
In [2]:
import this