Skip to content
Snippets Groups Projects

Handle in-app links within markdown

Merged Administrator requested to merge markdown-app-links into master

Created by: felixfbecker

Prevents full-page reloads when a link is clicked inside markdown, which makes a jarring UX. Code insights need to link to other pages of the app (e.g. directories, files, or search results).

Example (note the full page reload):

2020-04-24 15 02 51

The interesting part of this PR is the change in Markdown.tsx. The majority of this PR is adding the history prop to most components that were missing it, which I did with ts-morph. I'd be happy to add ts-morph as a tool in a separate PR.

Merge request reports

Merged by avatar (Jul 8, 2025 7:14am UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading