Further adjustment to Medium avatars

main
Lee Hanken 2024-07-12 13:20:22 +01:00
parent 495ebece3a
commit 56ac5defc8
1 changed files with 3 additions and 5 deletions

View File

@ -42,14 +42,12 @@ module.exports = {
{ {
find: '(https://miro.medium.com/max/60/', find: '(https://miro.medium.com/max/60/',
replacement: '(https://miro.medium.com/max/600/' replacement: '(https://miro.medium.com/max/600/'
} },
],
replace: [
{ {
find: /\s*\[\s*!\[([^\]]+)\]\(([^\)]+)\)\s*\]\(([^\?\)]*)\?[^\)]*\)\s*/g, find: /\s*\[\s*!\[([^\]]+)\]\(([^\)]+)\)\s*\]\(([^\?\)]*)\?[^\)]*\)\s*/g,
replacement: '![$1]($2)\n<$3>\n\n' replacement: '\n![$1]($2)\n[$1]($3)\n\n'
} }
] ]
}, },
{ {
domain: /(?:.*\.)?stackoverflow\.com/, domain: /(?:.*\.)?stackoverflow\.com/,