diff --git a/src/inline/view-plugin.ts b/src/inline/view-plugin.ts index e8ce928..35003d1 100644 --- a/src/inline/view-plugin.ts +++ b/src/inline/view-plugin.ts @@ -44,7 +44,7 @@ export function createInlineViewPlugin(_plugin: GithubLinkPlugin) { public inlineTags: DecorationSet = Decoration.none; private readonly matcher = new MatchDecorator({ - regexp: /(https:\/\/)?github\.com\S+/g, + regexp: /(? { add( from,