appmode
appmode copied to clipboard
Display a code cell in appmode
Often it may be advantageous to "jump in" while viewing a notebook in app mode and do some debugging in a code cell. Do you maybe have a pointer to whether or not it would be feasible to exclude one or more code cells from being hidden when app mode launches?
Sorry for the late reply.
Currently, the hiding happens via CSS. So, one would have to in introduce additional CSS classes to differentiate between the code cells to hide and those to show. Additionally, you'd need a way to mark the cells in the UI. Personally, I'm not sure if the effort is worth it, but feel free to give it a try.
Maybe it's easier the other way around: Execute all cells in normal mode and then hidden some of them.
I'd be interested by this feature for the following use-case: I am developing a teaching app with two zones: a widget showing a graphical puzzle (a maze in this case) and a code cell where the student input code to solve the puzzle: https://github.com/nthiery/laby-jupyter/ In term of UI, I could imagine for this and #32 a cell tool-bar like that of RISE.