Skip to content

Follow relative markdown links in the TUI pager (#441)#883

Open
aleexharris wants to merge 2 commits intocharmbracelet:masterfrom
aleexharris:master
Open

Follow relative markdown links in the TUI pager (#441)#883
aleexharris wants to merge 2 commits intocharmbracelet:masterfrom
aleexharris:master

Conversation

@aleexharris
Copy link
Copy Markdown

@aleexharris aleexharris commented Feb 15, 2026

Addresses long-standing issue #441

New discussion thread #884

Add TUI pager support for following relative links to other local markdown files via:

  • Tab/Shift+Tab to select
  • Enter to follow links
  • Backspace to go back to parent

Only follow relative links that resolve to an existing regular file within the directory Glow was opened in. Reject absolute paths, UNC/drive paths, external URLs, and root-escape attempts. Added tests for this as it is a safety concern.

PR template:

  • I have read CONTRIBUTING.md.
  • I have created a discussion that was approved by a maintainer (for new features).

@aleexharris aleexharris requested a review from a team as a code owner February 15, 2026 22:45
@aleexharris aleexharris requested review from andreynering and raphamorim and removed request for a team February 15, 2026 22:45
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