Releases: alexishida/Moji
Releases · alexishida/Moji
Release list
Moji v0.1.4
Added
- Mermaid diagram rendering: every valid fenced
mermaidblock renders in the preview (flowcharts, sequence, Gantt, class, ER, state, journey, and more), following the current light/dark reading theme. Render results are cached so repeated previews reuse the last diagram, and malformed blocks stay readable as code. - Mermaid diagram viewer: clicking a diagram opens a modal with fixed zoom levels (10%–1000%), fit-to-view, free-drag panning, a minimap above 100%,
< current/total >navigation across all diagrams in the document, and per-diagram PNG export namedfile-diagram-name-n.png. - Mermaid diagrams embedded as self-contained SVG in HTML, PDF, and PNG exports.
- Mermaid section added to the bundled Markdown guide for every supported language.
- Vitest test suite covering Markdown rendering, Mermaid parsing, export, PNG streaming, settings, outline, and preview scroll-spy (
npm test).
Fixed
- Exported HTML, PDF, and PNG now use the preview's font family, size, and line height. Exports previously declared no font family at all and fell back to the browser's default serif at a different size.
- PNG export no longer fails on documents taller than roughly 8000 pixels. The capture exceeded Chromium's 16384-pixel texture limit and aborted with
UnknownVizError; tall documents are now captured in slices and stitched into one image. - Drag-and-drop overlay no longer stays stuck when the pointer leaves the window over a nested element during a drag.
- Mermaid diagram viewer title now shows the diagram type name in the active language instead of a fixed English string; an author-provided diagram
titleis still kept verbatim.
Changed
- PNG export now compresses each captured slice as it arrives instead of assembling the whole bitmap in memory first. Peak memory follows the slice height rather than the height of the document: exporting the bundled guide dropped from roughly 500 MB to 165 MB, and a 30000 pixel document no longer approaches a gigabyte. Exports are around 15% slower and the files around 30% larger.
- Windows installer artifact now uses a dotted version in its filename (
Moji.Setup.0.1.4.exe).
Moji v0.1.3
Moji v0.1.3 - 2026-07-12
Added
- Keyboard shortcuts for document, search, view, font-size, tab navigation, and fullscreen actions.
- Markdown editor shortcuts for bold, italic, links, lists, checklists, and fenced code blocks.
- Shortcuts tab in Settings, localized for every supported language.
- Copy button for fenced code blocks in the Markdown preview, with copied-state feedback.
Changed
- PDF and PNG exports now wrap long code lines instead of clipping them.
- Settings now separate General, Preview, and Shortcuts in tabs.
- New untitled documents now receive localized, sequential names in their tabs.
- Simplified Welcome content and refined the recent-files card layout.
- Updated the About panel's explanation of the Moji name.