CLIO — Cross-notebook Library for Images and OutputsFigure Explorer for VS CodeClio gathers PNG, JPEG, WebP, and SVG figures from Jupyter notebooks, plus PNG, JPEG, WebP, SVG, GIF, and PDF files from scanned image sources, into a searchable gallery in VS Code. Browse the current notebook, scanned sources, or your starred collection; inspect a larger preview, compare plots, and return directly to a notebook cell or open a saved image. InstallVersion 0.1.26 introduces research presentations with live notebook figures, Markdown and equations, built-in/custom themes, portable saved decks and PDF export. Folder scans now include notebooks and skip environments/dependencies. Install Clio – Figure Explorer from the VS Code Marketplace, then open a Jupyter notebook. Clio appears in the Activity Bar and automatically indexes supported notebook image outputs as the notebook is opened, edited, or executed. To install a downloaded release manually, run:
Features
PresentationsThe editor gallery has one Presentation button. It opens a workspace with the current slide on the left and an ordered slide strip below it. Markdown shows an editor beside that strip, taking space from horizontally scrollable slide thumbnails instead of shrinking the slide preview. Its expand button opens a full-workspace split view of Markdown and the current slide, with live editing; Escape or the return button restores the workspace. Layout & design opens a draggable floating panel near its button for layout, text placement, figure ordering, and presentation styling. Close it with × or Escape. The right pane keeps Clio's searchable figure thumbnails and a separate preview below them. Drag either divider to adjust the workspace. Selecting a library figure does not change the selected slide. Use the File menu for New, Rename, Delete, Open, Save, and Save As; the presentation selector changes the active talk. Select one or several figures in the library and choose Add to slide to append them to the current slide. If there is no slide yet, Clio creates one. Add slides with + Slide; right-click a slide thumbnail to duplicate, remove, or move it earlier/later. Shift+F10 opens the same menu from a focused thumbnail. Dragging slides also changes their order. The same figure can appear on several slides. Use the floating panel's Figure order section to reorder, reload, or remove individual figures. The first Markdown heading becomes the slide title and appears only once, above its content; there is no separate title field. A slide with only a title and no figures centers it horizontally and vertically. Existing presentation titles are preserved as Markdown headings. Choose Automatic, Single column, Side by side, or Grid layouts; previous Text only layouts migrate to Automatic. Slides without figures can still contain Markdown. Draft previews refresh when notebook outputs change, without saving the notebook or manually reloading; Present mode keeps the displayed slide stable until revisited. The arrow controls place the remaining Markdown above, below, left, or right of figures; new slides default to text on the right. Click the single proportions button to switch between 16:9 and 4:3. Figures retain their aspect ratios and labels. Markdown supports headings, lists, tables, code, links, inline math (
Light, Dark, Minimal, Laboratory, Editorial, Midnight, and Botanical themes apply to the whole presentation. The + button next to Theme imports a custom
Slide styles are isolated from Clio's controls. Markdown HTML and scripts are disabled, and CSS cannot load external fonts or images. Equation rendering is bundled locally. Text is reduced to fit when necessary; use a shorter slide or adjust the layout if there is still too much content. Drafts are automatically saved privately in the current VS Code workspace. Save As writes the active presentation to a Saved files store slide content, design, and live source references rather than plot images. Source paths are relative to the presentation file where possible, including in SSH workspaces. Move the presentation together with its notebooks and images to preserve the links. Clio scans missing source notebooks or individual saved images without opening editor tabs; missing figures keep a retryable placeholder. Existing presentations from the first 0.1.26 test build are migrated automatically. Choose Present to hide the editor and library. Arrow keys, Page Up/Down, and Space navigate, and Show slides toggles the slide strip. Figures stay stable while a slide is displayed; reruns or changed saved sources become visible when you revisit that slide or reload its figure. Open notebooks resolve live, unsaved outputs—saving the notebook is not required. Escape returns to the presentation workspace, then a second Escape returns to the normal gallery. Slides load their figures on demand, rather than loading the entire talk upfront. Presentation controls + Slide, Layout & design, and Markdown share one row. The floating panel's Plot background button switches between white and transparent figure surfaces (it does not remove backgrounds already embedded in an image). The setting is saved with the presentation. In Present mode, Fullscreen fills the Clio view with the current slide and hides the toolbar and slide strip. Arrow keys still navigate; Escape or the corner exit button returns to ordinary Present mode. The gallery's Icons / Labels preference also applies to presentation controls: plus for Add slide, a palette for Layout & design, the Markdown M/arrow, a screen/play symbol for Present, and a pencil for Edit presentation. Present-mode controls are ordered Previous/Next, Fullscreen, Show/Hide slides, and Edit. Icon buttons retain tooltips and accessible labels. In Layout & design → Figure order, drag a figure's handle or title above or below another row. An insertion line shows the destination; the list scrolls near its edges. The slide and its thumbnail update immediately, and the up/down buttons remain available as an alternative. Select an imported theme and click the trash button beside Theme to remove it, after confirmation. Built-in themes cannot be removed. Removal clears that theme from the workspace's presentation drafts and switches affected presentations to Light. Original CSS files and saved presentations are left untouched; save changed presentations to update their files. Reopening an older saved presentation can restore its embedded theme. File → Save as PDF exports the complete active presentation in slide order, one page per slide, using the chosen proportions, figures, Markdown, equations, and theme. Slides are rendered at double resolution and embedded as raster pages (PDF text is not selectable). Export resolves current figures one slide at a time; missing figures stop the export rather than producing incomplete pages. Escape cancels rendering. The native save dialog appears when rendering finishes. Your selected slide is restored afterward, and the editable The slide preview has rounded corners without an extra contrasting frame. A compact bottom filmstrip keeps Slide, Layout & design, and Markdown controls stacked on its left. In the normal sidebar gallery, drag the horizontal divider to resize thumbnails and preview (or use Up/Down when focused; Home or double-click resets it). The split is remembered, and the preview includes zoom-in/out buttons. During notebook reruns, draft slides retain their styling and last good figure while outputs are cleared and replacement images load. The new output updates in place without switching slides or saving the notebook. Slide miniatures refresh as gallery thumbnails load and reuse resolved figures from the active slide, so a temporarily missing thumbnail cache entry is not treated as a failed figure. Adding one titled figure as the first figure on an untitled slide automatically inserts its title as a Markdown heading, preserving any body text. Adding multiple figures at once leaves the title blank; existing headings are never replaced. Figure backgrounds and theme borders fit tightly around each displayed image in all presentation layouts. Images remain uncropped; whitespace already contained in the source image is preserved. Close/remove controls use consistent thin-line X icons. Escape closes open gallery context menus, settings, source/scan selectors, filters, or tags before exiting the underlying view. Subsequent presses return from fullscreen, compare, or history, and clear multiple selections even when an input is focused. Use New presentation directly from the presentation toolbar. Drag a gallery thumbnail onto the slide preview to add it; dragging one of several selected thumbnails adds the whole selection. An empty presentation creates its first slide on drop, and figures remain linked to their live sources. Present mode keeps loaded figures in a temporary session cache and preloads the remaining slides with a bounded queue. Cached slides display immediately when revisited; a slide may still load if reached before preloading finishes. Returning to editing or closing the workspace releases the cache and resumes live draft refreshes. Figure titles and tagsUse a title in the first non-empty line of a cell:
Use a comma-separated tag comment to make figures easier to filter:
For a cell with multiple figure outputs, provide titles in output order:
One title is applied to every figure from the cell. When there are fewer titles than figures, the remaining figures are untitled. Commands
Use the Gallery ⚙ button to change the button style, thumbnail size, comparison layout, and preview background. Choose White for transparent plots whose dark labels are difficult to read against a dark theme; preview hover controls remain visible in a dark toolbar. These preferences are also available in VS Code Settings under Clio Gallery. LicenseClio is released under the MIT License. |