[IPython-dev] Static View for the Notebook
Carl Smith
carl.input at gmail.com
Wed Aug 8 20:13:53 EDT 2012
Ah, no worries. I was thinking that'd be trickier when using IPython
as a web app, but I guess that's a separate issue. How to convert to
html verses how to download a file through the notebook, which I never
could get working without running another mini server on the same
machine.
On 9 August 2012 01:10, MinRK <benjaminrk at gmail.com> wrote:
> This is one of the use cases nbconvert is meant to cover, by the time it's
> done.
>
> The whole print-view, etc. we have now will be discarded in favor of a
> static HTML render via nbconvert.
> Once nbconvert is in, then it would be trivial to also provide the markdown
> / PDF renders in the same fashion.
>
> -MinRK
>
> On Wed, Aug 8, 2012 at 5:05 PM, Carl Smith <carl.input at gmail.com> wrote:
>>
>> Hi all
>>
>> I was writing a blog post in the Notebook yesterday and wanted to post
>> a bit of feedback.
>>
>> I was writing the English in Markdown cells and writing Python
>> examples in code cells, as you'd expect. Once I was happy with the
>> code example, I would indent the whole cell one extra level and
>> convert it to a markdown cell, so it could be merged into the markdown
>> cells around it. This was a bit clumsy, but worked ok.
>>
>> I was thinking it might be possible to have a way of automating
>> something like this. Imagine you press a button and every code cell in
>> the notebook would indent and convert to a markdown cell, then every
>> cell would be merged into one big markdown super cell and rendered.
>>
>> This should be a view, it shouldn't change the notebook content
>> itself, so users could toggle in and out of the view.
>>
>> It'd be really nice if this feature could also display this super cell
>> as markdown and as plain html, so it could be copied into forums and
>> web pages easily.
>>
>> It was just an idea I thought I'd share. I haven't any code for it or
>> anything, but wondered if it made sense to others.
>>
>> Cheers
>>
>> Carl
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
More information about the IPython-dev
mailing list