Skip to content

Commit

Permalink
fix markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
ianjennings committed Feb 25, 2024
1 parent 746c24c commit 5f15790
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
@@ -33347,7 +33347,7 @@ const colors = __nccwpck_require__(3045);

function extractLink(markdownString) {
const regex = /\[!\[.*?\]\(.*?\)\]\((.*?)\)/;
const match = markdown.match(regex);
const match = markdownString.match(regex);
return match[1];
}

2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@ const colors = require("colors");

function extractLink(markdownString) {
const regex = /\[!\[.*?\]\(.*?\)\]\((.*?)\)/;
const match = markdown.match(regex);
const match = markdownString.match(regex);
return match[1];
}

0 comments on commit 5f15790

Please sign in to comment.