github Epistates/treemd v0.4.4

latest releases: v0.6.0, v0.5.12, v0.5.11...
8 months ago

[0.4.4] - 2025-12-04

Added

  • Raw source view toggle - Press r to toggle between rendered markdown and raw source view (#19)

    • Shows original markdown with line numbers for debugging rendering issues
    • [RAW] indicator in title bar and status bar when active
    • Maintains scroll position when toggling
  • Link search/filter in link navigator - Press / in link follow mode to filter links by text or URL

    • Case-insensitive search across link text and targets
    • Selection stays within filtered results
    • Press Esc to clear filter or exit search mode
  • Links in list items - Interactive mode now extracts and navigates to links within list item content

    • Previously only standalone links were indexed; now links embedded in list items are accessible
    • Links are indexed per-item with proper highlighting
  • Selection indicator backgrounds - Added background colors to selection indicators for better visibility

    • selection_indicator_bg theme field for customizing the background color
    • Improves contrast in all themes, especially on light backgrounds

Changed

  • Status messages auto-dismiss - Temporary status messages now auto-clear after 1 second
    • Event loop uses polling with 100ms timeout for responsive UI updates
    • No more stale "Rendered view enabled" messages lingering

Technical

  • Event polling for piped stdin - Added poll_event() to tty module for non-blocking event handling
    • Supports the same stdin redirection logic as read_event() for piped input scenarios
    • Enables timed UI updates without user input

Acknowledgements

New Contributors

Full Changelog: v0.4.3...v0.4.4

Don't miss a new treemd release

NewReleases is sending notifications on new releases.