Open Carreau opened 10 years ago
Good point!
Actually, I'm still using IPython 1.1 in the blog build process. I haven't managed to catch the Pelican plugin up with all the CSS changes that happened in IPython 2.0. It's a really hard thing to do well... perhaps if I ever get to changing that, I'll change the hbox as well.
I guess you might have to change things in the pelican plugin, but it would be nice to remove the hardcoded
hbox
css class on.cell
and apply it through css, and switch tovbox
on mobile via media-query. That way the code prompt are does not take with on mobile view, so the code is more readable. That's what nbviewer do.Side note, as I'm sure you are using IPython master and python 3 you can also use
\beta<tab>
in notebook to get your unicode symbol to have even shorter code snippet. But most people code in ascii so that would make you a hipster, right ? ;-)