[IPython-dev] html notebook converter

Brian Granger ellisonbg at gmail.com
Thu Apr 26 02:01:19 EDT 2012


On Wed, Apr 25, 2012 at 10:48 PM, Fernando Perez <fperez.net at gmail.com> wrote:
> On Wed, Apr 25, 2012 at 10:43 PM, Brian Granger <ellisonbg at gmail.com> wrote:
>> Our basic HTML exporter should simply use something like jinja and
>> should not go through reST as an intermediary format.  This will
>> enable us to write the HTML using the same css classes the actual
>> notebook uses - we will get the right look with very little effort.
>
> I guess I was thinking of documents with plaintext cells that contain
> rst in them, and for those it's kind of unavoidable to use docutils if
> we want them to render well... There's no point in writing our own
> rst->html conversion code when docutils does precisely that.

Ahh, yes, the direct to HTML route will only work when the stuff in
the plaintext cells is pure HTML or something like markdown that is
trivial to convert to HTML.  Good point.

Cheers,

Brian

> Cheers,
>
> f
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev



-- 
Brian E. Granger
Cal Poly State University, San Luis Obispo
bgranger at calpoly.edu and ellisonbg at gmail.com



More information about the IPython-dev mailing list