replace empty scheme in link or image by https

main
Lee Hanken 2022-02-03 17:02:10 +00:00
parent 86efeb7fee
commit cb8e74cea8
1 changed files with 6 additions and 0 deletions

View File

@ -7,6 +7,12 @@ module.exports = {
domain: /.*/,
remove: [
/\[¶\]\(#[^\s]+\s+"[^"]+"\)/g
],
replace: [
{
find: /\[([^\]]*)\]\(\/\/([^\)]*)\)/g,
replacement: '[$1](https$2)'
}
]
},
{