Skip to content

LeanMark v0.3.0

Choose a tag to compare

@github-actions github-actions released this 23 Sep 18:54
· 53 commits to main since this release
da3764d

LeanMark v0.3.0

LeanMark 0.3.0 adds section copy on every platform, tabs on Windows, and a much
smaller Windows memory footprint.

Release assets

Platform Artifact
Windows x64 LeanMark-v0.3.0-windows-x64.zip
Ubuntu 24.04 / Debian-compatible x86-64 LeanMark-v0.3.0-linux-x86_64.deb
macOS Intel and Apple silicon LeanMark-v0.3.0-macos-universal-preview.zip

Every artifact has an adjacent .sha256 sidecar in this release.

Highlights

  • A copy button on every heading. It copies that section as Markdown, from the
    heading to the next heading of the same or a higher level, subsections
    included. The toolbar Copy button (Ctrl+Shift+C) copies the whole document.
    The copy is read from the file, not from the rendered page, on all three
    platforms.
  • Tabs on Windows. Opening a Markdown file while LeanMark is running adds a tab
    to the open window instead of starting another reader. Ctrl+Tab and
    Ctrl+Shift+Tab switch tabs, Ctrl+1 to Ctrl+9 select one, Ctrl+W closes one,
    and Ctrl+click or middle-click opens a linked document in a new tab. A file
    that is already open comes forward instead of opening twice.
  • Lower memory on Windows. Median peak private memory for the whole process
    tree went from 163.91 to 96.79 MiB for a simple document, from 205.70 to
    125.31 MiB for the Mermaid showcase, and from 447.66 to 120.56 MiB with five
    documents open. Background tabs keep no rendered page, and a minimized window
    suspends its web view.
  • If the Windows reader's renderer process exits, the window reloads the
    document from disk instead of staying blank.

Upgrading on Windows

Close LeanMark 0.2.0 before starting 0.3.0. This release starts WebView2 with
different options, and WebView2 will not start a second set of options on a
profile while an older reader is still running. If you use the per-user
installer, run it again from the new ZIP; it keeps your default-app choice.

Platform notes

Windows

The Windows ZIP remains portable and includes optional per-user integration.
The executable is unsigned, so Windows may report an unknown publisher or show
a Microsoft Defender SmartScreen warning. The Evergreen WebView2 Runtime is
required.

Linux

The Debian package targets Ubuntu 24.04 and compatible x86-64 distributions.
GTK 4 and WebKitGTK 6.0 runtime dependencies are declared by the package and
resolved by the package manager. Section copy works; tabs are Windows only, so
each document still opens its own window.

macOS preview

The ZIP contains a Universal 2 preview for Intel and Apple silicon. Section copy
works, and documents group as native window tabs. This preview is ad-hoc signed
and not Apple-notarized because the project does not yet have Developer ID
release credentials. Gatekeeper may therefore require an explicit approval in
System Settings > Privacy & Security. The SHA-256 sidecar verifies that the
downloaded bytes match this GitHub Release. It does not establish publisher
identity and is not a substitute for Apple notarization.

Efficiency note

The memory figures above come from tests/Measure-Performance.ps1 on one
Windows 11 machine, comparing 0.2.0 and 0.3.0 on the same day; the README
describes the method. Linux and macOS figures will be published only after
equivalent measurements exist.

Feedback

Compatibility reports based on real, non-private Markdown documents are
welcome, especially documents containing local images or Mermaid blocks.