Working with notebooks

Juno lets you work on Jupyter notebooks with much more than just a code editor: it creates an entire notebook workspace, where everything you may need is within easy reach. It provides a powerful and customizable notebook editor designed for iPad and iPhone, allowing you to seamlessly navigate, view, and edit files in the working directory without leaving your notebook.

Learn more about navigating the working directory from the notebook workspace here: Working directory browser.

Cell menu
Floating action buttons
Keyboard shortcuts
Keyboard extension
Customizable toolbar
Cell templates
Output media viewer

Overview

Juno's notebook workspace

Juno offers a familiar experience of working with Jupyter notebooks in a first-class citizen app for iOS and iPadOS. It follows the same conventions as desktop JupyterLab and Jupyter Notebook applications: notebook documents can have Code cells, where you write Python code with the execution output appended below; and Markup Text cells, where you can add Markdown text, HTML or LaTeX equations. Selected cell has a gray vertical bar on the left, which changes to blue while you are editing cell contents. Each markup cell either appears rendered, with final formatting applied, or as markup source (unrendered). You can render a markup cell by executing it just as you would a code cell (or selecting Render Markup in the Bolt icon menu), and you can view its markup source by double-tapping it (or selecting Show Source in the Bolt icon menu).

Cell menu

Notebook editor

You can access the cell menu either from a floating action Bolt icon button, or from a Bolt icon button on the toolbar. It lets you manipulate the selected cell: you can change the cell type, cut/copy/paste or move the cell within the notebook, manipulate code cell output and perform other actions.

Back to top

Floating action buttons

The notebook editor displays floating action buttons at the bottom, for easier access to certain actions. You can configure or disable the buttons you don’t need in Settings behind the editor’s Ellipsis circle icon overflow menu.

Play icon Run button executes the selected cell. Long press the button to change its run action — for example, to run all cells in the notebook instead.
Bolt icon Cell Menu button shows actions for manipulating the selected cell.
Plus icon Add Cell button inserts an empty code cell below the selected one; long press to choose another cell type.
Arrow up to line icon Scroll to Cell button only appears when the selected cell is scrolled off screen; it brings the selected cell back into view.

Back to top

Keyboard shortcuts

Notebook editor showing all key shortcuts

Juno works great with all hardware keyboards, offering key shortcuts for all cell and notebook actions. Hold the ⌘ Command key on your hardware keyboard to see all shortcuts available in the notebook editor.

Back to top

Keyboard extension

Notebook editor showing all key shortcuts

Juno’s notebook editor extends your on-screen keyboard with additional buttons and actions:

Increase indent icon Decrease indent icon buttons change selected text indentation;
Number icon button toggles selected code as commented;
Arrow up left and arrow down right with selection pins icon selects all text in the cell;
Arrow left and right with selection pins icon selects the current line;
Plus selection pins badge arrow up icon extends text selection to the line above;
Plus selection pins badge arrow down icon extends text selection to the line below;
Contextual menu and cursor arrow icon shows or hides the selection context menu;
Chevron up icon Chevron down icon buttons navigate the cursor between notebook cells.

These actions will be available even with a hardware keyboard connected, appearing as a floating bar at the bottom.

Back to top

Customizable toolbar

Notebook editor showing customizable toolbar

The notebook editor offers a customizable toolbar, where you can rearrange, add or remove items by selecting Customize Toolbar in the editor’s Ellipsis circle icon overflow menu. For example, you could add less frequently used run actions there, or disable the floating action buttons, and add buttons with the same actions in the toolbar instead.

Back to top

Cell templates

Notebook editor showing cell templates menu

Juno’s notebook editor lets you save a cell with its content as a reusable cell template, which you can then quickly insert in any notebook. Select Cell Templates in the Ellipsis circle icon overflow menu, or the Puzzle piece extension icon icon on the toolbar to select, edit, and save new cell templates.

Back to top

Output media viewer

Notebook editor showing cell output image in a modal viewer

Select any image in the code cell output area to open it in an expanded media viewer, where you can zoom, pan, annotate, and share images. The media viewer is powered by the system’s Quick Look and is perfect for plots, graphs, and other code-generated media.

Back to top