From b595ddec2a38d9d81a68b285a1434e5f9c6a57a2 Mon Sep 17 00:00:00 2001 From: Lee Hanken Date: Sat, 5 Nov 2022 02:04:22 +0000 Subject: [PATCH] added filter for stackoverflow to hide editor --- url_to_markdown_common_filters.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/url_to_markdown_common_filters.js b/url_to_markdown_common_filters.js index 308c7f6..198560b 100755 --- a/url_to_markdown_common_filters.js +++ b/url_to_markdown_common_filters.js @@ -41,12 +41,12 @@ module.exports = { replace: [ { find: '(https://miro.medium.com/max/60/', - lsquo replacement: '(https://miro.medium.com/max/600/' + replacement: '(https://miro.medium.com/max/600/' } ] }, { - domain: /stackoverflow\.com/, + domain: /(?:.*\.)?stackoverflow\.com/, remove: [ /\*\s+Links.*Three\s+\|/g ]