Allow variation in format of Medium author domain
parent
69598b11ab
commit
495ebece3a
|
@ -46,8 +46,8 @@ module.exports = {
|
|||
],
|
||||
replace: [
|
||||
{
|
||||
find: /\s*\[\s*!\[([^\]]+)\]\(([^\)]+)\)\s*\]\((https:\/\/medium.com\/@[^\?\)]*)\?[^\)]*\)\s*/g,
|
||||
replacement: '![$1]($2)\n[$1]($3)\n\n'
|
||||
find: /\s*\[\s*!\[([^\]]+)\]\(([^\)]+)\)\s*\]\(([^\?\)]*)\?[^\)]*\)\s*/g,
|
||||
replacement: '![$1]($2)\n<$3>\n\n'
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue