mdr v0.3.0
First release that brings main CI back to green since February, and that ships four contributions from @njreid.
✨ New (thanks @njreid!)
- Syntax highlighting in the webview backend via highlight.js 11.11.1 embedded at compile time, with GitHub light/dark themes selected via
prefers-color-scheme, injected only when fenced code blocks are present (#35) - Fullscreen overlay for images and Mermaid diagrams in the webview backend, with a hover button, double-click, and
Escto close (#34) - User config file at
~/.config/mdr/config.kdl(KDL v2), with--initto scaffold a default config and--config PATHto override (#36) system-uiadded to the default font stack for a native desktop look on every OS (#36)
🐛 Fixed
- Webview on Linux/Wayland: no more
the window handle kind is not supportedcrash — the Linux build path now uses wry's GTK-native API (WebViewBuilderExtUnix::build_gtk), so the same binary works on X11 and Wayland (#33, closes #28) - Windows CI: the tui backend no longer hangs forever in
event::pollwhen stdout is not a TTY. This was the root cause of everymainCI run being cancelled at the 6h timeout since February (#39)
🔧 Internals
- Cargo dependencies bumped (drop-in majors): comrak, mermaid-rs-renderer, resvg/usvg, tiny-skia, wry/tao/muda, ratatui-image (#40)
timeout-minutes: 90added on the CI check job so the next hang fails fast instead of burning 6h of runner time
📦 Artifacts
Pre-built binaries for: macOS (aarch64, x86_64), Linux x86_64, Windows x86_64, .deb, .rpm.
Also published to: crates.io, Homebrew tap, Snap Store, Scoop, Chocolatey.
Full changelog: v0.2.8...v0.3.0