Repository navigation
Mystral Editor v1.2.0
A more complete authoring environment
Version 1.2.0 brings Mystral Editor closer to a complete workspace for scientific and technical writing.
It combines Git version control, structured YAML and JSON editing, improved spell-checking, and richer interactive Python and LabQuiz content—all within a more integrated authoring experience.
New Features
Git Integration
Mystral Editor now includes Git support directly in the editor.
- Browse the repository status and see which files have been modified.
- View file differences directly in the editor.
- Stage changes and commit them without leaving Mystral Editor.
- Push commits to the remote repository.
- Review the current branch and see whether it is behind its remote counterpart.
- Handle text and binary files appropriately.
Git uses your existing Git configuration and credentials, including SSH agents and graphical credential helpers. Operations that may rewrite files, such as pulling, merging, or rebasing, remain available through your usual Git tools.
YAML and JSON Editing
Mystral's configuration files now benefit from dedicated editing support.
- Open YAML (myst.yml and document frontmatter) and JSON files (config.json) directly in Mystral Editor.
- Edit MyST frontmatter with the full YAML language-server support.
- Validate MyST project and document configuration against generated schemas.
- Get syntax-aware editing, validation, and diagnostics.
- Benefit from context-sensitive autocompletion for configuration keys and values.
- Receive immediate feedback when an unknown or invalid configuration key is detected.
The configuration editor also provides completion and validation for config.json,
with documentation and descriptions derived from the application's configuration defaults.
Improved Spellchecking
Spellchecking has been significantly improved.
- Choose the dictionary directly from the editor's new status bar.
- Select from installed dictionaries, with automatic language detection based on document frontmatter or project configuration.
- Spellcheck both in source and inline preview modes.
- Load and process dictionaries in a background worker, avoiding editor freezes, especially with large dictionaries.
- Refresh spellchecking immediately when the selected language changes.
Interactive Python and LabQuiz
Python-based interactive content is more powerful and easier to use.
- Display rich outputs from
{eval}, including HTML, SVG, PNG, and Matplotlib figures. - Add interactive quizzes to documents using the new
{quiz}directive, powered by LabQuiz. - Present quizzes as buttons with optional dropdowns for answers.
- Run parameterized Python cells automatically when their controls are changed, using the new
autooption. - Offer dropdown choices for cell parameters declared as lists.
- Improve the installation of Python packages from local Pyodide distributions, including their dependencies.
New directives: Cards, Grids, and Layouts
MyST layout directives are now better supported.
- Use
{card},{grid}, and{grid-item}in the preview. - Configure card headers, footers, links, and grid column layouts.
- Control the number of columns at different screen sizes.
- Define how grid items span columns.
- Export cards and grids to LaTeX with appropriate layouts.
- Use
{float-clear}to control the flow of text around floated figures and tables.
Improved Document Navigation and Status Information
A new status bar provides useful information for each open document.
- Display the current Git branch.
- See word and character counts at a glance.
- Identify the active spellchecking dictionary.
- View the current file path.
- Open the detailed document statistics directly from the status bar.
Improvements, Reliability and Bugfixes
- Improve the management and cleanup of MyST site processes when reloading or closing the application.
- Prevent unnecessary background repository refreshes and reduce console noise.
- Improve editing of indented executable code cells, including insertion, deletion, and modification.
- Improve YAML frontmatter completion and diagnostic messages.
- Improve Mermaid rendering and sanitize diagram content more reliably.
- Fix several issues affecting editor stability, preview rendering, and cross-platform behavior.
- Improve configuration documentation and completion support.