[IPython-dev] Github - IPy Notebook button

Fernando Perez fperez.net at gmail.com
Sat Jun 29 02:23:11 EDT 2013


Very cool!

On Fri, Jun 28, 2013 at 2:29 PM, Puneeth Chaganti <punchagan at gmail.com> wrote:
> Hi,
>
> I hadn't really looked at this Userscript, until I wanted to send this
> email.  It may have saved me some work.
>
> I've hacked up a userscript[0] that "renders" notebook files inside
> GitHub, inspired by this[1] post on GitHub's blog, about rendering
> geojson files.
>
> I started with a version that loaded all the required Notebook js
> files, and got something working (just for raw pages), but getting the
> right CSS would've been a pain.  After some poking around, I wrote a
> userscript to replace the required elements on the page with an iframe
> that renders the corresponding nbviewer url.  Some of you may find it
> useful, though it probably doesn't save you much more than a click or
> two. :)
>
> The script can be installed in Firefox using Greasemonkey, and in
> Chrom(ium|e) using Tampermonkey.
>
> [0] - https://gist.github.com/punchagan/5882879
> [1] -https://github.com/blog/1541-geojson-rendering-improvements
>
> --
> Puneeth
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev



-- 
Fernando Perez (@fperez_org; http://fperez.org)
fperez.net-at-gmail: mailing lists only (I ignore this when swamped!)
fernando.perez-at-berkeley: contact me here for any direct mail



More information about the IPython-dev mailing list