Repository navigation
This release brings major improvements to Mystral's interactive capabilities, presentations, and editing experience. From running code through local Jupyter kernels to creating more engaging slide decks and turning copied content into structured Markdown, Mystral continues to evolve into a versatile environment for scientific, educational, and technical authoring.
Local Jupyter kernels
Mystral can now execute code using local Jupyter kernels, alongside its built-in Pyodide runtime. This opens up a much more flexible execution environment, extending interactive documents beyond the limitations of browser-based Python.
Local Jupyter kernels make it possible to:
- Run code using local Python environments and installed packages.
- Use other programming languages supported by Jupyter kernels.
- Take advantage of richer notebook capabilities, including
ipywidgets. - Display interactive HTML content and more advanced visualizations.
- Work with more complete notebook workflows and local computing resources.
Pyodide remains available as a lightweight, self-contained runtime requiring no local Python or Jupyter installation. The two execution environments complement each other, allowing users to choose between simplicity and the capabilities of their local environment.
Enhanced slide presentations
Presentation mode receives substantial improvements, making it more practical for live teaching, demonstrations, and technical presentations.
- Panorama view: Explore the entire deck in a scaled grid of slides, navigate visually, and jump directly to a slide.
- Laser pointer: Highlight content during presentations with a configurable pointer, fading trail, color, size, and glow.
- Internal links: Navigate between slides and fragments, including in exported standalone presentations.
- Improved slide navigation: Better handling of fragments, transitions, scrolling, and synchronization between source and presentation.
- More flexible slide layouts: Support for
{subsection}in headers and footers, improved vertical spacing, and better handling of long code listings. - Improved presentation controls: More discoverable settings with context-aware autocomplete for slide configuration.
Standalone HTML presentations also benefit from improved navigation, internal links, footnote and citation previews, and more reliable rendering.
More powerful interactive code cells
Interactive Python cells become more capable, with better handling of rich outputs and interactive visualizations.
- Support for richer outputs including HTML, SVG, PNG, Markdown, and Matplotlib figures.
- Improved support for interactive visualization libraries such as Bokeh and Plotly.
- Script-based HTML outputs rendered in isolated, sandboxed frames.
- Better handling of
display()and published outputs, including preserving the order of output produced during execution. - Improved rendering and handling of cell outputs, including more reliable behavior when scrolling or switching views.
- Better Pyodide package management, caching, and offline installation of packages.
These improvements make executable documents more useful for data exploration, scientific computing, teaching, and interactive demonstrations.
Smart copy-and-paste
Pasting content from websites, word processors, and spreadsheets is now much more useful.
- Rich HTML to Markdown: Convert pasted content while preserving headings, lists, quotations, links, emphasis, and other formatting.
- Smart table conversion: Automatically choose between Markdown tables,
{csv-table}, and{list-table}depending on the table structure and content. - Clipboard images: Paste screenshots and images directly into documents, inserting them as
{figure}directives and saving image files alongside the document when possible. - Math preservation: Retain the original TeX source when copying rendered mathematical expressions, avoiding unwanted escaping and duplication.
The conversion remains non-intrusive: regular paste still works, and conversion can be applied afterward when appropriate.
Improved Markdown and MyST support
The preview and editing experience continues to get closer to MyST's actual rendering behavior.
- Support for
{csv-table}and Pandoc-style definition lists. - More robust parsing of nested directives and their options.
- Improved rendering of strikethrough and highlighted text.
- Cross-document links targeting specific sections.
- Better support for figures, captions, image dimensions, and tables.
- More reliable inline preview and source mapping, including editing table directives directly from the rendered view.
A smoother editing experience
Numerous refinements make day-to-day authoring more fluid and predictable.
- Better synchronization between the source editor, inline preview, and presentation mode.
- More reliable slide navigation and scroll restoration.
- Persistent code-cell folding state.
- Ability to move code cells directly from inline preview.
- Improved keyboard shortcuts and editing workflows.
- Bookmarks: Mark documents directly in the source using
% bookmark, navigate between them using keyboard shortcuts, and access them from the outline. - Better export feedback and error reporting.
- Refinements to cell layouts, admonitions, figures, captions, and document structure.
Stability, performance, and documentation
This release also includes a large number of fixes and refinements across rendering, interactive cells, presentations, exports, and document editing, along with updated documentation and improved reliability.