@xterm/addon-web-links doesn't support blob URL (URI) #5046
-
Using the addon for weblinks, my blob links get highlighted as blob:https://url.com instead of blob:https://url.com Details
Steps to reproduce
|
Beta Was this translation helpful? Give feedback.
Answered by
jerch
Apr 26, 2024
Replies: 1 comment 1 reply
-
The addon handles only HTTP(S) on purpose by default. If thats not what you want, you can customize the regexp to your needs, see https://github.com/xtermjs/xterm.js/blob/master/addons/addon-web-links/src/WebLinksAddon.ts |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
terryzfeng
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The addon handles only HTTP(S) on purpose by default. If thats not what you want, you can customize the regexp to your needs, see https://github.com/xtermjs/xterm.js/blob/master/addons/addon-web-links/src/WebLinksAddon.ts