We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dad5323 commit dab592cCopy full SHA for dab592c
src/cm6/linkDetector.ts
@@ -160,11 +160,11 @@ export const detectLink = (params: { lineText: string; sourceFile: TFile; plugin
160
}
161
162
// --> C1. Outlook MSG Links
163
- const msgWikiRegex = /!\[\[.*(msg)(.*)?\]\]/;
+ const msgWikiRegex = /!\[\[.*(msg|eml)(.*)?\]\]/;
164
const msgWikiMatch = lineText.match(msgWikiRegex);
165
166
if (msgWikiMatch) {
167
- const msgWikiFileNameRegex = /\[\[.*.msg/;
+ const msgWikiFileNameRegex = /\[\[.*.(msg|eml)/;
168
const msgWikiFileNameMatch = msgWikiMatch[0].match(msgWikiFileNameRegex);
169
if (msgWikiFileNameMatch) {
170
const msgWikiFileNameMatchClear = msgWikiFileNameMatch[0].replace('[[', '');
0 commit comments