How do I replicate the Outgoing Links view's look and feel in my plugin?

I’m making a plugin that provides similar functionality to the Outgoing Links view but broader in scope.

I would like to reuse the components that I see being used there, particularly in the unlinked mentions section, including:

  • Preview of the article text with mention highlighted
  • the embedded links to the file
  • the numbered result count next to Unlinked mentions

However I’m having some trouble navigating and understanding the TypeScript API docs to figure out what pre-built functionalities it provides exactly.

Is there any way to reuse these pre-existing components, or do I have to create them from scratch?

image