[IPython-dev] Custom cell types for markup
Zakariyya Mughal
zaki.mughal at gmail.com
Tue Feb 10 14:32:29 EST 2015
On 2015-02-09 at 17:31:08 -0800, Matthias Bussonnier wrote:
> Hi,
>
> It should be possible but far from easy, and I'm not sure we are
> ready yet to re-consider.
Hehe, sounds like something right up my alley.
>
> Cheers,
> --
> M
On 2015-02-09 at 17:40:00 -0800, Thomas Kluyver wrote:
> You can have raw cells with a specified mime type. By default, these will
> display in the notebook as plain, unhighlighted text, but you could write
> an extension that watched for raw cells with a specific mime type and then
> rendered them. A JS POD parser would be required for that, though.
>
> Exporting them with nbconvert should be easier, though - you can write
> Jinja templates and filters that will, for instance, run those output cells
> through a command line program to render them.
OK, that seems do-able. I'll report back if I get it all working.
Thank you both for the info!
Regards,
- Zaki Mughal
>
> Thomas
More information about the IPython-dev
mailing list