[IPython-dev] Notebook CodeCell for editing and executing javascript

Matthias Bussonnier bussonniermatthias at gmail.com
Mon Dec 31 12:06:28 EST 2012

Le 31 déc. 2012 17:27, "Jason Grout" <jason-sage at creativetrax.com> a écrit :
> On 12/29/12 11:29 AM, Brian Granger wrote:
> > We don't want to allow notebooks that mix different languages at the
> > CodeCell level.

> Of course, cell magics alleviate this restriction, as we can right now
> do %%r, %%cython, etc., to effectively get different languages in
> different cells.
But that applies only to ipython kernel.

> I don't see why we can't have a %%javascript that then just echoes the
> javascript back to the browser to execute.
It alredy exist but is dangerous so will be blocked by the security we will

What would be cool is for
> the syntax highlighting to also change if the cell detects that it is a
> %%r cell, etc.
Doesn't 0.13.1 do it. Dev does.

> Thanks,
> Jason
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20121231/946216a7/attachment.html>

More information about the IPython-dev mailing list