Stuck on a ItemView issue

Hi everyone.

I am trying to render the contents of a MarkdownRenderer inside an ItemView. The window displays the correct html, but the links do not work. I tried the same HTML code inside FileView and the link worked. Is there a missing handler in my window?

I don’t know what to do. Perhaps someone more experienced can suggest a solution?

In my plugin development, I also encountered this issue, and I ended up with writing this util function.

It hooks necessary event handlers on internal links: click to open links, hover over to show popover preview.

In your use case, however, you might want to change source: 'preview' to source: <YOUR VIEW TYPE> and register your view as a hover link source: registerHoverLinkSource - Developer Documentation
This way, users can configure whether Ctrl/Cmd is required when displaying popover preview (the functionality of the page preview core plugin).

Both and the id parameter for registerHoverLinkSource are the same, it’s what your view’s getViewType() returns.

Thanks for the answer, good solution