[IPython-User] _repr_html_ CSS and javascripts?
Thomas Kluyver
takowl@gmail....
Mon Aug 6 15:15:14 CDT 2012
On 6 August 2012 18:34, Matthias BUSSONNIER
<bussonniermatthias@gmail.com> wrote:
>> I'm happily using the _repr_html_ method in my object with basic HTML.
>> Since I can't find any further documentation on this, can I use CSS
>> styles and/or javascript in my renderings?
>
> for javascript use _repr_javascript_
I think he's asking about embedding JS or CSS into the HTML produced
by _repr_html_(). As far as I know, that should be possible. Try it
and see what happens ;-).
Thomas
More information about the IPython-User
mailing list