Skip to content

Handle in-app links within markdown

Warren Gifford 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

Loading