Neaten Medium avatar

main
Lee Hanken 2024-07-12 12:25:41 +01:00
parent f7bc315a79
commit 69598b11ab
1 changed files with 10 additions and 4 deletions

View File

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