jakevdp / PythonicPerambulations

Old source for jakevdp.github.io. New source at http://github.com/jakevdp/jakevdp.github.io-source
89 stars 72 forks source link

liquid_tags plugin for IPython notebooks #9

Open magsol opened 8 years ago

magsol commented 8 years ago

I'm attempting to port your liquid_tags.notebook plugin to a new Pelican theme, Flex. I noticed both from the comments in liquid_tags/notebook.py and from simply running the plugin with the theme that several CSS tags are colliding. Can you point me to the CSS tags that were "specifically designed to make the results look good within the pelican-octopress theme"?

magsol commented 8 years ago

Nevermind; further testing points to all the "scrunched-up" CSS in the auto-generated _nb_header.html file--from Twitter Bootstrap in particular--as the source of the clobbering of the CSS. I have no idea how to fix this; any suggestions are appreciated.

jakevdp commented 8 years ago

Yep, this is a huge issue, and is the main reason I haven't updated liquid_tags to work with recent IPython versions (in which the CSS scheme is entirely new). It was hours of trial and error to get it working the first time, and I assume that's what it will take in your case as well.

magsol commented 8 years ago

A cursory glance over the 4.x documentation says the same thing--the IPython API has changed considerably. I'll let you know how it goes :P