We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 95000f2 + 7121c4f commit 2db1f3bCopy full SHA for 2db1f3b
extensions/notebook-renderers/src/linkify.ts
@@ -142,8 +142,8 @@ export class LinkDetector {
142
return [{ kind: 'text', value: text, captures: [] }];
143
}
144
145
- const regexes: RegExp[] = [WEB_LINK_REGEX, PATH_LINK_REGEX, HTML_LINK_REGEX];
146
- const kinds: LinkKind[] = ['web', 'path', 'html'];
+ const regexes: RegExp[] = [HTML_LINK_REGEX, WEB_LINK_REGEX, PATH_LINK_REGEX];
+ const kinds: LinkKind[] = ['html', 'web', 'path'];
147
const result: LinkPart[] = [];
148
149
const splitOne = (text: string, regexIndex: number) => {
0 commit comments