Way to intercept link clicks when rendering markdown? #2021
-
I'd like to intercept all link clicks in markdown, and do something different with them internally. So for example, if markdown was rendered for a link like so: and someone clicked on that link, then the link wouldn't be opened in the browser, but would fire an event in my code. Thanks for any suggestions! |
Beta Was this translation helpful? Give feedback.
Answered by
willmcgugan
Mar 3, 2022
Replies: 1 comment 7 replies
-
Afraid not. It's the terminal itself that decides what to do when the link is clicked. AFAIK there is no way to intercept those. |
Beta Was this translation helpful? Give feedback.
7 replies
Answer selected by
bradparks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Afraid not. It's the terminal itself that decides what to do when the link is clicked. AFAIK there is no way to intercept those.