ipython/ipython — Issue #860: HTML notebook output to blog post
Author: aarchiba
Created: 2011-10-11 18:53:22+00:00
State: open

I often want to take an HTML notebook and post it on my blog. The procedure I use now is to hit "Print" and then view the source of the resulting static HTML. I then strip off the body tag and everything outside it; what remains I paste into an HTML view. This mostly works, but there are a few issues:

* I needed to copy much of the CSS from various files into the custom CSS of my blog, and the rendering is still kind of wonky. It would be good to have a better-documented set of CSS that I could embed, and maybe even customize.

* Multiple figures in one cell are all rendered on one line, for some reason. It's a pain to manually edit in
between each one. Maybe this is a CSS issue?

* It would be nice to put a newline or two after the opening body tag and before the closing, to make the stripping process easier.

There's an example of the output at http://lighthouseinthesky.blogspot.com/2011/10/testing-whether-signal-is-broad-band.html