[IPython-dev] html notebook converter

Brian Granger ellisonbg@gmail....
Thu Apr 26 01:01:19 CDT 2012


On Wed, Apr 25, 2012 at 10:48 PM, Fernando Perez <fperez.net@gmail.com> wrote:
> On Wed, Apr 25, 2012 at 10:43 PM, Brian Granger <ellisonbg@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@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev



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


More information about the IPython-dev mailing list