Skip to content

Fix viewer/editor/linter bugs and add new features#5

Merged
tirthpatell merged 2 commits into
mainfrom
fix-and-feat/viewer-editor-linter
Feb 20, 2026
Merged

Fix viewer/editor/linter bugs and add new features#5
tirthpatell merged 2 commits into
mainfrom
fix-and-feat/viewer-editor-linter

Conversation

@tirthpatell

Copy link
Copy Markdown
Owner

Summary

  • Fix viewer scrolling off-by-one, editor save errors, modified flag reset, render error capture, linter extractText
  • Add viewer search, editor quit confirmation, new lint rules, lint stdin support, mdr stats command

- Fix viewer scrolling off-by-one where last line was unreachable
- Fix editor save errors never displayed in status bar
- Fix editor save not resetting modified flag
- Fix editor silently swallowing render errors in preview pane
- Fix linter extractText missing nested formatting (bold/italic)
…tats command

- Editor: unsaved changes confirmation dialog on Ctrl+C (y/n prompt)
- Viewer: search with / to enter query, n/N to navigate matches, Esc to clear
- Linter: add trailing-whitespace and no-empty-sections rules
- Linter: add stdin support via `mdr lint` or `mdr lint -`
- New `mdr stats` command showing word/line/heading/link/image/code block counts
@tirthpatell
tirthpatell merged commit 19aa357 into main Feb 20, 2026
6 checks passed
Repository owner deleted a comment from codecov-commenter Feb 20, 2026
@tirthpatell
tirthpatell deleted the fix-and-feat/viewer-editor-linter branch February 20, 2026 05:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant