-
Notifications
You must be signed in to change notification settings - Fork 79
Description
Looking through the new Markdig-based Markdown control, I'm not seeing any obvious way to handle clicked links in the consuming application.
I see the library has an
AutoLinkParserthat takes anAutoLinkOptions.OpenInNewWindow, but AutoLink seems to be centered around detecting and making raw links clickable in the renderer. It's not clear where or how link clicks are handled from code-behind.Looking at another UI project that uses Mardig, markdig.wpf, we find that their sample app is routing "hyperlink clicks" through FrameworkElement CommandBindings. Digging further, they've connected this binding through a
Hyperlinkobject that is passed to a custom wpf-basedLinkInlineRenderer.We'll need to create a similar custom link renderer in the
MarkdownTextBlockcontrol offered in Labs before we can move forward with this ticket.
Originally posted by @Arlodotexe in #512
Metadata
Metadata
Assignees
Labels
Type
Projects
Status