diff --git a/TextReplace-Rules.md b/TextReplace-Rules.md index a2f714f..c53fdcc 100644 --- a/TextReplace-Rules.md +++ b/TextReplace-Rules.md @@ -38,9 +38,9 @@ Replace: https://youtu.be/$1 Find: https:\/\/media\.discordapp\.net(?=\/) Replace: https://cdn.discordapp.com ``` -### Beautify GitHub Pull Request/Issue links +### Beautify GitHub Pull Request/Issue/Discussion links ```regex -Find: https:\/\/(to)?github\.com\/(?[A-Za-z0-9-]+\/[A-Za-z0-9._-]+)\/(issues|pull)\/(?[0-9]+)\/* +Find: https:\/\/(to)?github\.com\/(?[A-Za-z0-9-]+\/[A-Za-z0-9._-]+)\/(issues|pull|discussions)\/(?[0-9]+)\/* Replace: [$ (#$)]($&) ``` ### Beautify CoastalCommits Pull Request/Issue links