From 5f15790e3aaedc950cc7c727e299025e85d8aecb Mon Sep 17 00:00:00 2001 From: Ian Jennings Date: Sun, 25 Feb 2024 14:22:32 -0600 Subject: [PATCH] fix markdown --- dist/index.js | 2 +- src/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 785b38d..f72571c 100644 --- a/dist/index.js +++ b/dist/index.js @@ -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]; } diff --git a/src/index.js b/src/index.js index 92bdd5f..199c551 100644 --- a/src/index.js +++ b/src/index.js @@ -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]; }