31dom/.vscode/settings.json
2020-10-04 17:52:48 -06:00

16 lines
No EOL
465 B
JSON

{
"files.autoSave": "afterDelay",
"MarkdownPaste.rules": [
{
"regex": "^(?:https?://)?(?:(?:(?:www\\.?)?youtube\\.com(?:/(?:(?:watch\\?.*?v=([^&\\s]+).*)|))?))",
"options": "g",
"replace": "[![](https://img.youtube.com/vi/$1/0.jpg)](https://www.youtube.com/watch?v=$1)"
},
{
"regex": "^(https?://.*)",
"options": "ig",
"replace": "[]($1)"
}
]
}