Rise: Hide Raw NBConvert cells in slideshow

Created on 9 Jan 2020  路  2Comments  路  Source: damianavila/RISE

I would like to hide all Raw NBConvert cells when presenting a slideshow. Is there a way to do this other than individually marking each cell as "Skip"? In other words, I'd like to automatically mark every such cell as a Skip.

I thought about perhaps using CSS but wasn't sure that is the best approach.

question

All 2 comments

one straightforward path could be to write a custom jupyter action that marks all 'raw nbconvert' cells as Skip, and bind it to a keyboard keystroke, which is something doable with the native jupyter toolset

It's probably suboptimal, but I am not very comfortable with the idea of building this semantics more deeply into RISE though

one other way, now that I come to think about it, is to use the hide_input extension, although it clearly won't achieve the same result exactly; the cool think with that is that you decide what cells get hidden; the draw is that you have to decide what cells get hidden ;)

ps1.
I personally have defined my own keyboard shortcut to deal with hide_input, as the regular UI for doing that was driving me crazy, but I might have missed something

ps2.
I am not 100% positive that hide_input works with this type of cells, that I never use in my own work.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rzuritamilla picture rzuritamilla  路  4Comments

engyasin picture engyasin  路  4Comments

srcoulombe picture srcoulombe  路  4Comments

IanSudbery picture IanSudbery  路  5Comments

Alalalalaki picture Alalalalaki  路  4Comments