[IPython-dev] change or interact with the html into ipython profile

Lucien Boillod lucienboillod at gmail.com
Fri Dec 5 08:34:54 EST 2014


Hello,

I currently create a custom ipython notebook profile, and I wonder if there is a way to interact with the source html.
Basically I wanted to change the href of the title ( which is "/tree/“ by default ) so I tried to do it with the custom.js like that:

$('.ipython_notebook').each(function() {
    var link = $(this).html();
    $(this).contents().wrap('<a href="www.google.com"></a>');
});

But it seems not work, it not changing the html at all.
Do someone as a method to do that and interact with the html ??

Thank you,

Cheers,

Lucien Boillod


More information about the IPython-dev mailing list